aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-11 15:22:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-11 15:22:17 +1200
commit7b5f3f2e42ce66ac7e06c8bedc94649952a3b981 (patch)
tree6cef5cd154aef522eec7b9f688a87b71b058f6c3
parentAdd crontab(5) Vim filetype (diff)
downloaddotfiles-7b5f3f2e42ce66ac7e06c8bedc94649952a3b981.tar.gz
dotfiles-7b5f3f2e42ce66ac7e06c8bedc94649952a3b981.zip
Add .wgetrc Vim filetype
-rw-r--r--vim/filetype.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 1c3c108a..f8ff2b43 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -185,6 +185,10 @@ augroup filetypedetect
autocmd BufNewFile,BufRead
\ .viminfo
\ setfiletype viminfo
+ " .wgetrc files
+ autocmd BufNewFile,BufRead
+ \ .wgetrc,wgetrc
+ \ setfiletype wget
" Add automatic commands to find Xresources subfiles
autocmd BufNewFile,BufRead
\ .Xresources,*/.Xresources.d/*