From d2db03b021bd83740caa852d0d6064562be71ffb Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Fri, 1 Mar 2013 18:37:10 -0800 Subject: [PATCH] Better error message when unable to get diags Fixes #72. --- autoload/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index a3acf3a7..a685d168 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -539,7 +539,7 @@ function! s:ForceCompile() \ 'ycm_state.GettingCompletions()' ) if !getting_completions - echom "Unable to retrieve diagnostics." + echom "Unable to retrieve diagnostics, see output of `:mes` for details." return 0 endif