forked from VimPlug/jedi-vim
pydoc works now with operators and keywords
This commit is contained in:
@@ -132,8 +132,8 @@ PYTHONEOF
|
|||||||
setlocal nomodified
|
setlocal nomodified
|
||||||
setlocal filetype=rst
|
setlocal filetype=rst
|
||||||
|
|
||||||
if l:doc_lines > 20 " max 20 lines for plugin
|
if l:doc_lines > 30 " max lines for plugin
|
||||||
let l:doc_lines = 20
|
let l:doc_lines = 30
|
||||||
endif
|
endif
|
||||||
execute "resize ".l:doc_lines
|
execute "resize ".l:doc_lines
|
||||||
|
|
||||||
@@ -315,7 +315,7 @@ def _goto(is_definition=False):
|
|||||||
# has a better idea, let me know.
|
# has a better idea, let me know.
|
||||||
vim.command('normal! m`')
|
vim.command('normal! m`')
|
||||||
|
|
||||||
d = definitions[0]
|
d = list(definitions)[0]
|
||||||
if d.in_builtin_module():
|
if d.in_builtin_module():
|
||||||
echo_highlight("Builtin modules cannot be displayed.")
|
echo_highlight("Builtin modules cannot be displayed.")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user