diff options
author | Florian Pritz <bluewind@xinu.at> | 2019-12-12 13:02:50 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-01-25 16:04:17 +0100 |
commit | 01a2162dcbcc5b0b43fff6b8c41528f464cf3213 (patch) | |
tree | f6eb02b49d3656755a9ec6a3e97d1ec1f2f19086 /.vimrc | |
parent | 60cc6449830fb22e4f4852de7326fa2a5e98842f (diff) | |
download | dotfiles-01a2162dcbcc5b0b43fff6b8c41528f464cf3213.tar.gz dotfiles-01a2162dcbcc5b0b43fff6b8c41528f464cf3213.tar.xz |
vimrc: Hide more passwords
Some ruby apps use the old ":foo:" syntax in the yaml files instead of the
simpler "foo:". Hide both of them.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |