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(...)
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