diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-21 15:31:20 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-21 15:31:20 +1200 |
commit | af895a3763842036d36f183334d9b47497117f6e (patch) | |
tree | 8dcf93602de556fe86440f84970d177704e1f94e /vim | |
parent | Merge branch 'hotfix/v9.9.2' (diff) | |
download | dotfiles-af895a3763842036d36f183334d9b47497117f6e.tar.gz dotfiles-af895a3763842036d36f183334d9b47497117f6e.zip |
Add printcap filetype detection in Vim
Diffstat (limited to '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 91327ba0..70c57682 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -290,6 +290,10 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ protocols \ setfiletype protocols + " printcap(5) files + autocmd BufNewFile,BufRead + \ printcap + \ setfiletype ptcap " Python files autocmd BufNewFile,BufRead \ ?*.py |