Hi Rodolfo, 2016-3-28(Mon) 23:27:15 UTC+9 Rodolfo Borges: > Neovim is installed matchit.vim by default. > > > > Haven't noticed that. I don't use neovim yet, in fact I just installed to > check this bug. > > > Thanks for explaining, I wasn't aware of extra plugins by default in neovim. > > > I find it odd to have the highlighting find the right matching paren, and % > not. That means there are two codes for the matching?
Yes. Each has been done in a separate process. The highlighting matching parenthesis process has been performed by runtime/plugin/matchparen.vim. (by default in Vim) This can be disabled by write to `let g:loaded_matchparen=1` to your .vimrc. The extended "%" matching process has been performed by Vim internal logic written by C language (*1). (by default in Vim) When loaded matchit.vim (*2), above process has been used this plugin. *1 In many of the programming language can express the string in single quotes, but this logic is not possible to correspond to it. I think that it should correspond to it. ... I wrote the following in the first response, including the kind of above meaning :-) > Someday, I'll improve the implementation of the C source code of findmatch(). *2 If you use Vim 7.4.1648 or older, please see following document. :h matchit-install If you use Vim 7.4.1649 or newer, adding below in your .vimrc. :packadd! matchit -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
