Skip to content

Instantly share code, notes, and snippets.

@metalrufflez
Last active December 17, 2015 05:08
Show Gist options
  • Save metalrufflez/5555216 to your computer and use it in GitHub Desktop.
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
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