mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -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
|
||
---|---|---|
.. | ||
editorconfig.lua | ||
gzip.vim | ||
man.lua | ||
matchit.vim | ||
matchparen.vim | ||
netrwPlugin.vim | ||
osc52.lua | ||
rplugin.vim | ||
shada.vim | ||
spellfile.vim | ||
tarPlugin.vim | ||
tohtml.lua | ||
tutor.vim | ||
zipPlugin.vim |