X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=vim%2Fvim%2Fftdetect%2Fnginx.vim;fp=vim%2Fvim%2Fftdetect%2Fnginx.vim;h=3ae470d249425034b7c2274213910aeb51c20727;hp=0000000000000000000000000000000000000000;hb=55336d070b7057e04a810c39a341dd88e7cc4548;hpb=d72554835928055a6b41e226bcf237595ac97d4f diff --git a/vim/vim/ftdetect/nginx.vim b/vim/vim/ftdetect/nginx.vim new file mode 100644 index 0000000..3ae470d --- /dev/null +++ b/vim/vim/ftdetect/nginx.vim @@ -0,0 +1,4 @@ +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