From 9ce4e3171843f5f3fb3b4414824c0f5ea9f2efa3 Mon Sep 17 00:00:00 2001 From: micbou Date: Wed, 11 Nov 2015 14:15:01 +0100 Subject: [PATCH] Do not capitalize :YcmToggleLogs argument stdout and stderr names are rarely capitalized. --- autoload/youcompleteme.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 4eaedb48..0714cdae 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -766,8 +766,8 @@ endfunction function! s:ToggleLogs(...) - let stderr = a:0 == 0 || a:1 !=? 'Stdout' - let stdout = a:0 == 0 || a:1 !=? 'Stderr' + let stderr = a:0 == 0 || a:1 !=? 'stdout' + let stdout = a:0 == 0 || a:1 !=? 'stderr' py ycm_state.ToggleLogs( stdout = vimsupport.GetBoolValue( 'l:stdout' ), \ stderr = vimsupport.GetBoolValue( 'l:stderr' ) ) endfunction @@ -807,7 +807,7 @@ endfunction function! youcompleteme#LogsComplete( arglead, cmdline, cursorpos ) - return "Stdout\nStderr" + return "stdout\nstderr" endfunction