aboutsummaryrefslogtreecommitdiff
path: root/vim/filetype.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-25 09:06:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-25 09:06:16 +1200
commitd025b8101b300c34e0e74d54ec821b69ee08cc94 (patch)
tree2b506fb06d9dd7c3cb6f2d20c9fa64719ca27599 /vim/filetype.vim
parentMerge branch 'release/v1.0.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-75405af08e2c10b1bd0455cdaf518bc5300a7a18.tar.gz (sig)
dotfiles-75405af08e2c10b1bd0455cdaf518bc5300a7a18.zip
Merge branch 'release/v1.1.0'v1.1.0
* release/v1.1.0: Bump VERSION Adjust an augroup name Missed an ftplugin map: HTML URL linking Update diff_prune.vim ftplugin Move all local bindings out into .vimrc Correct .vimrc comment Add diff_prune.vim ftplugin Update redact_pass.vim plugin Correct Vim 'formatlistpat' def for Markdown Add password filetype Correct an exists() call in markdown ftplugin Add "gitrebase" Vim filetype Print working directory after \g in Vim Bind \g in Vim to go to the current buffer's dir Add tab cycle bindings Update fixed_join.vim plugin
Diffstat (limited to 'vim/filetype.vim')
-rw-r--r--vim/filetype.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 6c40dec1..d5c9bdb8 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -144,6 +144,10 @@ augroup filetypedetect
\,.gitmodules
\,gitconfig
\ setfiletype gitconfig
+ " Git rebase manifests
+ autocmd BufNewFile,BufRead
+ \ git-rebase-todo
+ \ setfiletype gitrebase
" GnuPG configuration files
autocmd BufNewFile,BufRead
\ *gnupg/options
@@ -246,6 +250,12 @@ augroup filetypedetect
\,?*.[1-9]
\,*/man[1-9]*/?*.[1-9]*
\ setfiletype nroff
+ " pass(1) password files
+ autocmd BufNewFile,BufRead
+ \ /dev/shm/pass.?*/?*.txt
+ \,$TMPDIR/pass.?*/?*.txt
+ \,/tmp/pass.?*/?*.txt
+ \ setfiletype password
" UNIX password and shadow files
autocmd BufNewFile,BufRead
\ /etc/passwd