Commit Graph

11 Commits

Author SHA1 Message Date
T. Joseph Carter
b06d67a073 Make color matches not happen in the middle of \w
Valid colors won't appear inside of a word, so we'll use a clever bit of
vim to match them only not immediately after a word (as opposed to a
WORD, they're not the same thing in vim.) This was done by patching the
patterns in about line 319-321.

This created a new problem however if an invalid color such as…

call minpac#add('gko/vim-coloresque')

…happened to appear in the same file as a valid '#add' color. To fix
that, we use the same '\w\@<!' trick on b:matchescache. Issue fixed.

Thanks to markzen for suggesting the regex solution, I'd never have
stumbled upon it myself without a pointer in the right direction.
2019-10-16 01:26:35 -07:00
Konstantin Gorodinskiy
0c21b14699 + 2013-10-22 10:55:34 +04:00
Konstantin Gorodinskiy
7931b8e3ce + 2013-10-22 10:36:33 +04:00
Konstantin Gorodinskiy
ddde03f39a lag fix 2013-10-20 12:19:28 +04:00
Konstantin Gorodinskiy
acc14ae578 lag fix 2013-10-20 12:16:45 +04:00
Konstantin Gorodinskiy
e5955a3c41 fix for issue #13 2013-09-27 13:34:03 +04:00
gk
c8f21be50b disable restore to fix #12 2013-09-24 14:45:16 +04:00
gk
29817bf0e7 - named color handler. use straight matchadd instead 2013-09-24 12:33:57 +04:00
unknown
a6988af951 hlsearch fix 2013-09-20 13:26:18 +02:00
unknown
9459e6af89 fixed css property name bug 2013-09-20 12:50:46 +02:00
Konstantin Gorodinskiy
71cdb48289 + sass less scss stylus 2013-08-28 00:16:20 +04:00