X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/26c16dbfb6fe8925b613a7c5489a826fd9ed2669..329e21ac77e347520634119b979cf02f26988491:/ftdetect/pass.vim?ds=sidebyside 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