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.
This is much shorter, should perform better and (at least to me) seems much more hackable.
This is much better, thanks! Can you pull request this to https://github.com/pjcj/vim-hl-var ? Or create a new github project for it. Vim plugins are easier to manage via pathogen/vundle if they have a corresponding github repo.