On 9/2/06, A.J.Mechelynck antoine.mechelynck-at-skynet.be |vim|
<...> wrote:
Yang wrote:
> There seems to be an 'undocumented feature' when editing Lisp files
> with the 'lisp' option set. I can no longer % between matching
> s-expressions []{}() if they are in comments and on newlines, e.g. in:
>
> ;; myfold {{{
> (blah blah)
> ;; }}}
>
> ;; (blah
> ;; blah)
>
> I can't jump between the {} or the second (). Is this a bug?
>

Are you using matchit or "plain" % jumping? By default, matching ignores
  matches inside comments, see ":help b:match_skip"


Best regards,
Tony.


I'm not using matchit, I'm using plain %.

I didn't know about matchit; do I need to use this instead of vim's
built-in %, then? I just installed matchit, but when I tried letting
b:match_skip = 's:string', nothing seemed to change.

(In any case, this still doesn't explain the plain % behavior.)

Reply via email to