Not matching catch against error message

That fails if a different locale is loaded because Vim localizes error messages.

Fixes #767
This commit is contained in:
Strahinja Val Markovic 2014-01-11 11:55:40 -08:00
parent 808d88bf55
commit 9c443dabd8

View File

@ -276,7 +276,7 @@ function! s:SetUpCpoptions()
" here.
try
set shortmess+=c
catch /E539: Illegal character/
catch
endtry
endfunction