← Back to Upcase

I want VIM to highlight when i type TODO , BUG , FIXME

I looked around the arpanet and wasn’t successful in finding a solution…

Basically I am wanting to have a highlight for whenever those 3 words or more words appear that I define…

Do you have the vim-ruby plugin installed? It should automatically highlight when them prefixed with a #:

Don’t use it but is there a way where it can also contain // ?

using ruby.vim would be overkill for just this feature…

I actually got something like this

augroup HiglightTODO autocmd! autocmd WinEnter,VimEnter * :silent! call matchadd('TODO', 'TODO', -1) augroup END
Now how would I change the highlight color , and add new things like FIXME, BUG, REFACTOR ?