X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9d788b57245fa78e7779b183f2f90fa00d5c80c1..8f867c8c71b12523f6368b6bd4c9c86c4cb1f3a1:/ftdetect/pass.vim?ds=sidebyside diff --git a/ftdetect/pass.vim b/ftdetect/pass.vim index 5cb07c1..23523fd 100644 --- a/ftdetect/pass.vim +++ b/ftdetect/pass.vim @@ -7,14 +7,12 @@ let s:save_cpo = &cpoptions set compatible&vim " this is straight from Tom Ryders plugin -augroup password-store - autocmd! - autocmd VimEnter - \ /dev/shm/pass.?*/?*.txt - \,$TMPDIR/pass.?*/?*.txt - \,/tmp/pass.?*/?*.txt - \ set filetype=pass -augroup END + +autocmd VimEnter + \ /dev/shm/pass.?*/?*.txt + \,$TMPDIR/pass.?*/?*.txt + \,/tmp/pass.?*/?*.txt + \ setlocal filetype=pass " Cleanup at end let &cpoptions = s:save_cpo