mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
jedi#show_documentation: check len of g:jedi#documentation_command
This commit is contained in:
committed by
Dave Halter
parent
1f7e661d9d
commit
d879d2f216
@@ -377,7 +377,9 @@ function! jedi#show_documentation() abort
|
|||||||
|
|
||||||
" quit comands
|
" quit comands
|
||||||
nnoremap <buffer> q ZQ
|
nnoremap <buffer> q ZQ
|
||||||
execute 'nnoremap <buffer> '.g:jedi#documentation_command.' ZQ'
|
if len(g:jedi#documentation_command)
|
||||||
|
execute 'nnoremap <buffer> '.g:jedi#documentation_command.' ZQ'
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" ------------------------------------------------------------------------
|
" ------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user