mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 11:14:32 +08:00
show_func_def shows function definition without that setting, fixes #19
This commit is contained in:
2
jedi
2
jedi
Submodule jedi updated: 75c4ed30ee...7b8988ebff
@@ -163,7 +163,7 @@ def clear_func_def():
|
|||||||
|
|
||||||
|
|
||||||
def show_func_def(call_def=None, completion_lines=0):
|
def show_func_def(call_def=None, completion_lines=0):
|
||||||
if vim.eval("has('conceal')") == '0':
|
if vim.eval("has('conceal') && g:jedi#show_function_definition") == '0':
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
if call_def == None:
|
if call_def == None:
|
||||||
|
|||||||
Reference in New Issue
Block a user