contrib/vim/ftdetect/nginx.vim - nginx source code

  1. au BufRead,BufNewFile *.nginx set ft=nginx
  2. au BufRead,BufNewFile */etc/nginx/* set ft=nginx
  3. au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
  4. au BufRead,BufNewFile nginx.conf set ft=nginx