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
call CheckSignature( ".vim.local/vimrc" , ".vim.local/signature" )
catch /.*/
echohl ErrorMsg
echo " "
echo " -> SIGNATURE VERIFICATION FAILED"
echo " "
echohl None
finish
endtry
echo " -> Using local configuration."