Do not capitalize :YcmToggleLogs argument

stdout and stderr names are rarely capitalized.
This commit is contained in:
micbou 2015-11-11 14:15:01 +01:00
parent 26a18643ee
commit 9ce4e31718

View File

@ -766,8 +766,8 @@ endfunction
function! s:ToggleLogs(...) function! s:ToggleLogs(...)
let stderr = a:0 == 0 || a:1 !=? 'Stdout' let stderr = a:0 == 0 || a:1 !=? 'stdout'
let stdout = a:0 == 0 || a:1 !=? 'Stderr' let stdout = a:0 == 0 || a:1 !=? 'stderr'
py ycm_state.ToggleLogs( stdout = vimsupport.GetBoolValue( 'l:stdout' ), py ycm_state.ToggleLogs( stdout = vimsupport.GetBoolValue( 'l:stdout' ),
\ stderr = vimsupport.GetBoolValue( 'l:stderr' ) ) \ stderr = vimsupport.GetBoolValue( 'l:stderr' ) )
endfunction endfunction
@ -807,7 +807,7 @@ endfunction
function! youcompleteme#LogsComplete( arglead, cmdline, cursorpos ) function! youcompleteme#LogsComplete( arglead, cmdline, cursorpos )
return "Stdout\nStderr" return "stdout\nstderr"
endfunction endfunction