From ea819684d8f808b865f35e56b2d0f407d61fd65c Mon Sep 17 00:00:00 2001 From: svermeulen Date: Thu, 15 Aug 2013 17:19:17 -0300 Subject: [PATCH 1/2] Bug fix, was triggering an error in the command line edit window (ie. the window you get by hitting c-f in command line) after not moving the cursor for a few seconds (ie. when CursorHold event is fired) --- autoload/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index ae75ee26..347f073d 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -164,7 +164,7 @@ endfunction function! s:AllowedToCompleteInCurrentFile() - if empty( &filetype ) + if empty( &filetype ) || getbufvar(winbufnr(winnr()), "&buftype") ==# 'nofile' return 0 endif From 039ffa5a75ebb196d51a861f88f078d32b517a9f Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 15 Aug 2013 21:29:27 -0700 Subject: [PATCH 2/2] OmniSharp completer error message using incorrect naming format The not found message used to instruct users on how to install the OmniSharp completer was using an underscore while the argument to the install script uses a hyphen. The message now uses the correct naming format. --- python/ycm/completers/cs/cs_completer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ycm/completers/cs/cs_completer.py b/python/ycm/completers/cs/cs_completer.py index 4e6cd98a..5d448494 100755 --- a/python/ycm/completers/cs/cs_completer.py +++ b/python/ycm/completers/cs/cs_completer.py @@ -34,7 +34,7 @@ import tempfile SERVER_NOT_FOUND_MSG = ( 'OmniSharp server binary not found at {0}. ' + 'Did you compile it? You can do so by running ' + -'"./install.sh --omnisharp_completer".' ) +'"./install.sh --omnisharp-completer".' ) class CsharpCompleter( ThreadedCompleter ): """