浏览代码

Clarified the 'old libs found' error message

Strahinja Val Markovic 11 年之前
父节点
当前提交
78610d2479
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      plugin/youcompleteme.vim

+ 3 - 2
plugin/youcompleteme.vim

@@ -36,7 +36,7 @@ elseif v:version < 703 || (v:version == 703 && !has('patch584'))
 elseif !has( 'python' )
 elseif !has( 'python' )
   echohl WarningMsg |
   echohl WarningMsg |
         \ echomsg "YouCompleteMe unavailable: requires Vim compiled with " .
         \ echomsg "YouCompleteMe unavailable: requires Vim compiled with " .
-        \ " Python 2.x support" |
+        \ "Python 2.x support" |
         \ echohl None
         \ echohl None
   call s:restore_cpo()
   call s:restore_cpo()
   finish
   finish
@@ -62,7 +62,8 @@ endfunction
 
 
 if s:YcmLibsPresentIn( s:python_folder_path )
 if s:YcmLibsPresentIn( s:python_folder_path )
   echohl WarningMsg |
   echohl WarningMsg |
-        \ echomsg "YCM libraries found in old location; please RECOMPILE YCM." |
+        \ echomsg "YCM libraries found in old YouCompleteMe/python location; " .
+        \ "please RECOMPILE YCM." |
         \ echohl None
         \ echohl None
   call s:restore_cpo()
   call s:restore_cpo()
   finish
   finish