Display signature checks with error colors

This commit is contained in:
Emmanuel BENOîT 2023-06-17 16:48:59 +02:00
parent 3d3fd4e618
commit fb89903e5e
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF

View file

@ -182,9 +182,11 @@ echo "Found local configuration in .vim.local ; validating..."
try try
call CheckSignature( ".vim.local/vimrc" , ".vim.local/signature" ) call CheckSignature( ".vim.local/vimrc" , ".vim.local/signature" )
catch /.*/ catch /.*/
echohl ErrorMsg
echo " " echo " "
echo " -> SIGNATURE VERIFICATION FAILED" echo " -> SIGNATURE VERIFICATION FAILED"
echo " " echo " "
echohl None
finish finish
endtry endtry
echo " -> Using local configuration." echo " -> Using local configuration."