diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-05-17 11:28:13 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-05-17 11:28:13 +0200 |
commit | 7dd2e1169849b7e5cae67d5056f0a379f3da67b5 (patch) | |
tree | ba85e65b887c6a77e8400627e0f7ea7c0f08b84c /ftdetect/polyglot.vim | |
parent | 9197c69900514524a0101d88e663b452de09a98d (diff) | |
download | vim-polyglot-2.16.0.tar.gz vim-polyglot-2.16.0.zip |
Switch nginx vendor to chr4/nginx.vim, closes #205v2.16.0
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index b00f0f8b..4991170d 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -539,11 +539,12 @@ augroup filetypedetect augroup END augroup filetypedetect -" nginx:othree/nginx-contrib-vim +" nginx:chr4/nginx.vim au BufRead,BufNewFile *.nginx set ft=nginx +au BufRead,BufNewFile nginx*.conf set ft=nginx +au BufRead,BufNewFile *nginx.conf 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 augroup END augroup filetypedetect |