X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8f867c8c71b12523f6368b6bd4c9c86c4cb1f3a1..329e21ac77e347520634119b979cf02f26988491:/ftdetect/pass.vim?ds=sidebyside diff --git a/ftdetect/pass.vim b/ftdetect/pass.vim index 23523fd..0ce0f48 100644 --- a/ftdetect/pass.vim +++ b/ftdetect/pass.vim @@ -10,9 +10,11 @@ set compatible&vim autocmd VimEnter \ /dev/shm/pass.?*/?*.txt + \,/dev/shm/gopass-edit*/secret \,$TMPDIR/pass.?*/?*.txt \,/tmp/pass.?*/?*.txt - \ setlocal filetype=pass + \ setlocal filetype=pass | + \ if password_store#setting('enable_syntax') ==# 'true' | setlocal syntax=pass.obfuscated | endif " Cleanup at end let &cpoptions = s:save_cpo