From: Josef Fortier Date: Tue, 4 Sep 2018 21:03:31 +0000 (-0500) Subject: Add syntax X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/c96dece194bcf125f3e471ca994941a3aa0b361a?ds=inline Add syntax --- 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 + +