summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 285f870..8185566 100644
--- a/.vimrc
+++ b/.vimrc
@@ -397,7 +397,7 @@ autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL
" hide passwords
autocmd BufReadCmd,FileReadCmd passwords.gpg set ft=gpgpass
-autocmd Syntax yaml syn match MyPassword /\%(^\s*pass\(word\)\?:\s*\)\@<=\S\+/ conceal cchar=*
+autocmd Syntax yaml syn match MyPassword /\%(^\s*:\?pass\(word\)\?:\s*\)\@<=\S\+/ conceal cchar=*
autocmd Syntax gpgpass syn match GpgPassword /\%(^\)\@<=\S\+/ conceal cchar=*
autocmd Syntax gpgpass syn match GpgPasswordQuoted /\%(^\)\@<=".\+"/ conceal cchar=*
set conceallevel=2 concealcursor=nvc