Created
July 22, 2017 00:38
-
-
Save simonced/778539d36fc2c93abd8cbdad000087f4 to your computer and use it in GitHub Desktop.
sample of how to highlight some words in buffers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" following is required | |
syntax on | |
syntax enable | |
augroup badwords | |
au! | |
" for each buffer opened, we activate highlight of some words | |
autocmd BufRead * match ErrorMsg /I think/ | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment