From 422ad483c179063c37ff87c84b042a349af54c80 Mon Sep 17 00:00:00 2001 From: Marcin Szamotulski Date: Sun, 17 Mar 2013 13:47:17 +0000 Subject: [PATCH] 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) --- autoload/jedi.vim | 2 +- plugin/jedi.vim | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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)