diff options
-rw-r--r-- | vim/filetype.vim | 6 | ||||
-rw-r--r-- | vim/ftplugin/password.vim | 9 | ||||
-rw-r--r-- | vim/indent/password.vim | 11 |
3 files changed, 0 insertions, 26 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim index 848637dd..6b52fab9 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -239,12 +239,6 @@ augroup filetypedetect \,/etc/shadow- \,/etc/shadow.edit \ setfiletype passwd - " pass(1) password files - autocmd BufNewFile,BufRead - \ /dev/shm/pass.?*/?*.txt - \,$TMPDIR/pass.?*/?*.txt - \,/tmp/pass.?*/?*.txt - \ setfiletype password " Perl 5 files autocmd BufNewFile,BufRead \ ?*.pl diff --git a/vim/ftplugin/password.vim b/vim/ftplugin/password.vim deleted file mode 100644 index 28f5a5e9..00000000 --- a/vim/ftplugin/password.vim +++ /dev/null @@ -1,9 +0,0 @@ -" Only do this when not yet done for this buffer -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -" No autoformatting -setlocal formatoptions= -let b:undo_ftplugin = 'setlocal formatoptions<' diff --git a/vim/indent/password.vim b/vim/indent/password.vim deleted file mode 100644 index e37d0387..00000000 --- a/vim/indent/password.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Only do this when not done yet for this buffer -if exists('b:did_indent') - finish -endif -let b:did_indent = 1 - -" Manual indenting and literal tabs for passwords -setlocal noautoindent -setlocal noexpandtab -setlocal softtabstop=0 -let b:undo_indent = 'setlocal autoindent< expandtab< softtabstop<' |