Friday, September 11, 2015

Re: Making matchit.vim work properly in angularjs

On Sep 3, 2015, at 1:14 PM, Christian Brabandt <cblists@256bit.org> wrote:

> Hi 'Dave!
>
> On Mi, 02 Sep 2015, 'Dave Land' via vim_use wrote:
>
>> Hello,
>>
>> … words, words, words …
>>
>> Any advice?
>
> Have you read through the help, specifically :h matchit-debug

The answer was in :h matchit-details, specifically,

"The pattern '<' comes first, so it is preferred over '<tag>', which also matches."

This cued me in to the fact that my _regular_ HTML match_words pair was getting in the way of my new angular-friendly match_words pair. I switched 'em around and it works perfectly.

Next time, I'll RTFM!

Thanks again,

Dave

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment