May 2014 Archives

Automatic variable highlighting in vim: the easy way

Three days ago, Ovid was nice enough to write about variable highlighting in vim. When I tried that vim script myself, I soon ran into the bug that was also found by Robin: If the cursor is above a hash, the actual use of the hash won't be matched.

So I took a look at the vimscript code and ... found that it's way too much code for my taste.

About confuseAcat

user-pic Random observations that may in some way be related to Perl.