aboutsummaryrefslogtreecommitdiff
path: root/.vim/filetype.vim
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-08-20 21:39:03 +0800
committergxlin <[email protected]>2021-08-20 21:39:03 +0800
commit1e1c02f8a12445ca8b9e4166ea4098af65b0cf68 (patch)
tree6f240014a7c38b2d562dd4b103e0148ef1353747 /.vim/filetype.vim
parent0e737c44adc0aeae73003337f9638de493904196 (diff)
downloaddotfiles-1e1c02f8a12445ca8b9e4166ea4098af65b0cf68.tar.gz
dotfiles-1e1c02f8a12445ca8b9e4166ea4098af65b0cf68.tar.bz2
dotfiles-1e1c02f8a12445ca8b9e4166ea4098af65b0cf68.zip
Update config
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