From e1feca9ca0bef360fa88219ebba9ef216b8897a0 Mon Sep 17 00:00:00 2001 From: Josef Fortier Date: Thu, 6 Sep 2018 22:09:12 -0500 Subject: [PATCH 1/1] Red highlight for shorter passwords --- syntax/pass.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syntax/pass.vim b/syntax/pass.vim index 8a3c12f..e8deaef 100644 --- a/syntax/pass.vim +++ b/syntax/pass.vim @@ -4,6 +4,9 @@ if exists('b:current_syntax') | finish| endif syntax match password_store_password /\%1l.*/ 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^[^:]+:' highlight link password_store_header PreProc -- 2.39.5