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:
parent
808d88bf55
commit
9c443dabd8
@ -276,7 +276,7 @@ function! s:SetUpCpoptions()
|
||||
" here.
|
||||
try
|
||||
set shortmess+=c
|
||||
catch /E539: Illegal character/
|
||||
catch
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user