Last active
December 17, 2015 05:08
-
-
Save metalrufflez/5555216 to your computer and use it in GitHub Desktop.
highlight nginx config lines that you forgot to add a semicolon to the end
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
au BufRead,BufNewFile /etc/nginx/conf.d/* set ft=nginx | |
autocmd FileType nginx highlight missingsemicolon ctermbg=red | match missingsemicolon /^[^#;{}]\+$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment