mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
cf44121f7f
Problem: The matchparen plugin is slow on a long line.
Solution: Don't use a regexp to get char at and before cursor.
(zeertzjq)
Example:
```vim
call setline(1, repeat(' foobar', 100000))
runtime plugin/matchparen.vim
normal! $hhhhhhhh
```
closes: vim/vim#15568
|
||
---|---|---|
.. | ||
testdir | ||
memfile_test.c |