diff --git a/autoload/jedi.vim b/autoload/jedi.vim index b1041a7..637cda1 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -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 :call jedi#goto_window_on_enter() diff --git a/plugin/jedi.vim b/plugin/jedi.vim index 670b23f..75d0a8d 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -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)