Peter Hodge wrote:
Hey,

Thanks for that important clue.  It seems the secret to making it work is in
the values of the b:match_skip and b:match_words variables.  Thank you, this
problem has been bugging me for a while.

regards,
Peter


Addendum: It depends on the 'filetype' and possibly on whether %-jumping is done by Vim C code or by the matchit script: with the same file, if

        :set filetype=vim

% jumps between 1 and 6 (but here the matchit plugin comes into play), and matchparen pairs 1 with 6 too.


Best regards,
Tony.



Note that with an empty 'filetype', which might mean English (or French or...) plaintext, an apostrophe isn't necessarily a paired string-terminator, so (don't you see) the opening and closing round brackets earlier in this sentence should be paired. In a programming language such as Vim-script or C, there is a filetype-plugin which should be responsible to adjust the relevant options and variables according to the syntax of the language.

Double-quotes, on the contrary, "can", I think, always be assumed to be string or quotation boundaries.


Best regards,
Tony.

Reply via email to