From c96dece194bcf125f3e471ca994941a3aa0b361a Mon Sep 17 00:00:00 2001 From: Josef Fortier Date: Tue, 4 Sep 2018 16:03:31 -0500 Subject: [PATCH] Add syntax --- syntax/pass.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 syntax/pass.vim diff --git a/syntax/pass.vim b/syntax/pass.vim new file mode 100644 index 0000000..5077ff1 --- /dev/null +++ b/syntax/pass.vim @@ -0,0 +1,11 @@ +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 + +" colon field value is the suggested path for additional information +syntax match password_store_header '\v^[^:]+:' +highlight link password_store_header PreProc + + -- 2.39.2