X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c96dece194bcf125f3e471ca994941a3aa0b361a..d6ba19d53c8eca15047cfc06d54a000f6fc8cb28:/syntax/pass.vim diff --git a/syntax/pass.vim b/syntax/pass.vim index 5077ff1..e8deaef 100644 --- a/syntax/pass.vim +++ b/syntax/pass.vim @@ -2,7 +2,10 @@ if exists('b:current_syntax') | finish| endif " first line (by convention always a single pasword syntax match password_store_password /\%1l.*/ -highlight link password_store_password Comment +highlight password_store_password guifg=DarkGray guibg=DarkGray ctermfg=8 ctermbg=8 + +syntax match password_store_password_short /\%1l.\{,6\}$/ +highlight password_store_password_short guifg=Red guibg=Red ctermfg=1 ctermbg=1 " colon field value is the suggested path for additional information syntax match password_store_header '\v^[^:]+:'