f-stack/app/nginx-1.11.10/contrib/vim/ftdetect/nginx.vim

5 lines
198 B
VimL
Raw Normal View History

2017-04-21 10:43:26 +00:00
au BufRead,BufNewFile *.nginx set ft=nginx
au BufRead,BufNewFile */etc/nginx/* set ft=nginx
au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
au BufRead,BufNewFile nginx.conf set ft=nginx