X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/630ffaf2f6bdf20811673201f1a094a7b3ba1a4f..329e21ac77e347520634119b979cf02f26988491:/ftdetect/pass.vim?ds=inline diff --git a/ftdetect/pass.vim b/ftdetect/pass.vim index 6601555..0ce0f48 100644 --- a/ftdetect/pass.vim +++ b/ftdetect/pass.vim @@ -13,7 +13,8 @@ autocmd VimEnter \,/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