aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-21 15:31:54 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-21 15:31:54 +1200
commit24bc0dbb7f1cc69babc983e9d299249b933767fa (patch)
tree55cf4947c2d446e9abacb20f9b69b1bc48fe0e5d
parentMerge branch 'hotfix/v9.9.2' (diff)
parentBump VERSION (diff)
downloaddotfiles-24bc0dbb7f1cc69babc983e9d299249b933767fa.tar.gz
dotfiles-24bc0dbb7f1cc69babc983e9d299249b933767fa.zip
Merge branch 'hotfix/v9.9.3'v9.9.3
* hotfix/v9.9.3: Add printcap filetype detection in Vim
-rw-r--r--VERSION4
-rw-r--r--vim/filetype.vim4
2 files changed, 6 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 9d21997f..4793ebf2 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v9.9.2
-Thu, 21 May 2020 02:22:44 +0000
+tejr dotfiles v9.9.3
+Thu, 21 May 2020 03:31:38 +0000
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