Pixiv-Nginx/contrib/vim/ftdetect/nginx.vim

5 lines
198 B
VimL
Raw Normal View History

2018-09-17 18:29:24 +08: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