aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-22 18:49:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-22 18:49:46 +1300
commitc11ba5d45da506d60cf115f72f2cedcbfe7a3279 (patch)
treead73ef95f8d25275a028457a2c4b1e329725278c
parente0c2e50db6ad7d48407dd41fda0aa7bbd0eed646 (diff)
downloaddotfiles-c11ba5d45da506d60cf115f72f2cedcbfe7a3279.tar.gz
dotfiles-c11ba5d45da506d60cf115f72f2cedcbfe7a3279.zip
Add resolv.conf Vim filetype detection
-rw-r--r--vim/filetype.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 9e1773a0..7b4a5015 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -324,6 +324,10 @@ augroup filetypedetect
\,?*.rem
\,?*.remind
\ setfiletype remind
+ " resolv.conf files
+ autocmd BufNewFile,BufRead
+ \ resolv.conf
+ \ setfiletype resolv
" robots.txt files
autocmd BufNewFile,BufRead
\ robots.txt