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.
|
" here.
|
||||||
try
|
try
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
catch /E539: Illegal character/
|
catch
|
||||||
endtry
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user