diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-11 15:16:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-11 15:16:11 +1200 |
commit | 2569982534dea9188b6f3e6ad3c2157f060b7713 (patch) | |
tree | 66717a49e90caa47f9a55850fce62e0091c42586 /vim/filetype.vim | |
parent | Apply t_cm hack to Makefile Vim invocation (diff) | |
download | dotfiles-2569982534dea9188b6f3e6ad3c2157f060b7713.tar.gz dotfiles-2569982534dea9188b6f3e6ad3c2157f060b7713.zip |
Add crontab(5) Vim filetype
Diffstat (limited to 'vim/filetype.vim')
-rw-r--r-- | vim/filetype.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim index d7cafef9..1c3c108a 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -23,6 +23,10 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ *.c++,*.cpp,*.cxx,*.hh \ setfiletype cpp + " crontab(5) files + autocmd BufNewFile,BufRead + \ crontab,*/cron.*/* + \ setfiletype crontab " CSS files autocmd BufNewFile,BufRead \ *.css |