aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-14 22:36:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-14 22:42:29 +1200
commitcb77ee161538bc439b9daad3483974c60468a84a (patch)
treec1e5e558ca26232d94f724f91cd3b4bed55caaa8
parent7bfc2ae02ce2049e464837881df1afc223f661ba (diff)
downloaddotfiles-cb77ee161538bc439b9daad3483974c60468a84a.tar.gz
Remove unneeded password filetype
-rw-r--r--vim/filetype.vim6
-rw-r--r--vim/ftplugin/password.vim9
-rw-r--r--vim/indent/password.vim11
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<'