aboutsummaryrefslogtreecommitdiff
path: root/.vim/filetype.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/filetype.vim')
-rw-r--r--.vim/filetype.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/.vim/filetype.vim b/.vim/filetype.vim
index a1d5d7c..82fa01c 100644
--- a/.vim/filetype.vim
+++ b/.vim/filetype.vim
@@ -1,4 +1,6 @@
augroup filetypedetect
- autocm BufRead,BufNewFile *.org setfiletype org
+ autocmd BufRead,BufNewFile *.org setfiletype org
+ autocmd BufRead,BufNewFile *nginx.conf setfiletype nginx
+ autocmd BufRead,BufNewFile /etc/nginx*.conf setfiletype nginx
autocmd BufRead,BufNewFile *mutt-* setfiletype mail
augroup end