From 7dd2e1169849b7e5cae67d5056f0a379f3da67b5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 17 May 2017 11:28:13 +0200 Subject: Switch nginx vendor to chr4/nginx.vim, closes #205 --- ftdetect/polyglot.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ftdetect') 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 -- cgit v1.2.3