From 9c443dabd81cfc2fecf1b0b5c8e238381892ad4a Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Sat, 11 Jan 2014 11:55:40 -0800 Subject: [PATCH] Not matching catch against error message That fails if a different locale is loaded because Vim localizes error messages. Fixes #767 --- autoload/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index eeb6a643..c2c63c40 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -276,7 +276,7 @@ function! s:SetUpCpoptions() " here. try set shortmess+=c - catch /E539: Illegal character/ + catch endtry endfunction