X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/16f202c3b8ea1bb2625d3319bf42d8fc57f33814..8a97a4231254ab25e017fecd10ba2068bd588e52:/.vim/bundle/password-store/syntax/pass.vim diff --git a/.vim/bundle/password-store/syntax/pass.vim b/.vim/bundle/password-store/syntax/pass.vim new file mode 100644 index 0000000..1645720 --- /dev/null +++ b/.vim/bundle/password-store/syntax/pass.vim @@ -0,0 +1,15 @@ +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 short passwords +syntax match password_store_password_short /\%1l.\{,6\}$/ +highlight link password_store_password_short Error + +" colon field value is the suggested path for additional information +syntax match password_store_header '\v^[^:]+:' +highlight link password_store_header PreProc + +