summaryrefslogtreecommitdiffstats
path: root/ftdetect/nginx.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect/nginx.vim')
-rw-r--r--ftdetect/nginx.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/nginx.vim b/ftdetect/nginx.vim
new file mode 100644
index 00000000..45bb1c15
--- /dev/null
+++ b/ftdetect/nginx.vim
@@ -0,0 +1 @@
+au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/*,*/nginx/vhosts.d/*,nginx.conf if &ft == '' | setfiletype nginx | endif