From 801aae9735a398a583cb03e33d8431ed1d95a054 Mon Sep 17 00:00:00 2001 From: David Halter Date: Thu, 6 Sep 2012 01:55:52 +0200 Subject: [PATCH] pydoc works now with operators and keywords --- jedi.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jedi.vim b/jedi.vim index e51be90..425bd43 100644 --- a/jedi.vim +++ b/jedi.vim @@ -132,8 +132,8 @@ PYTHONEOF setlocal nomodified setlocal filetype=rst - if l:doc_lines > 20 " max 20 lines for plugin - let l:doc_lines = 20 + if l:doc_lines > 30 " max lines for plugin + let l:doc_lines = 30 endif execute "resize ".l:doc_lines @@ -315,7 +315,7 @@ def _goto(is_definition=False): # has a better idea, let me know. vim.command('normal! m`') - d = definitions[0] + d = list(definitions)[0] if d.in_builtin_module(): echo_highlight("Builtin modules cannot be displayed.") else: