summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-05-17 11:28:13 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-05-17 11:28:13 +0200
commit7dd2e1169849b7e5cae67d5056f0a379f3da67b5 (patch)
treeba85e65b887c6a77e8400627e0f7ea7c0f08b84c /ftdetect/polyglot.vim
parent9197c69900514524a0101d88e663b452de09a98d (diff)
downloadvim-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.vim5
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