mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +08:00
g:jedi#quickfix_window_height
This commit adds an option g:jedi#quickfix_window_height, with the
default value 10 (as this is the default value for :copen)
This commit is contained in:
@@ -104,7 +104,7 @@ endfunction
|
||||
function! jedi#add_goto_window()
|
||||
set lazyredraw
|
||||
cclose
|
||||
execute 'belowright copen 3'
|
||||
execute 'belowright copen '.g:jedi#quickfix_window_height
|
||||
set nolazyredraw
|
||||
if g:jedi#use_tabs_not_buffers == 1
|
||||
map <buffer> <CR> :call jedi#goto_window_on_enter()<CR>
|
||||
|
||||
@@ -35,7 +35,8 @@ let s:settings = {
|
||||
\ 'show_function_definition': 1,
|
||||
\ 'function_definition_escape': "'≡'",
|
||||
\ 'auto_close_doc': 1,
|
||||
\ 'popup_select_first': 1
|
||||
\ 'popup_select_first': 1,
|
||||
\ 'quickfix_window_height': 10
|
||||
\ }
|
||||
|
||||
for [key, val] in items(s:settings)
|
||||
|
||||
Reference in New Issue
Block a user