From c2cb6b641bfa70aaf64a661831b2dd5336f6181c Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 17 Oct 2012 18:44:28 +0200 Subject: [PATCH] vim 7.2 has no conceal feature, fixes #13 --- jedi | 2 +- plugin/jedi_vim.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jedi b/jedi index 2ba5e36..b8b04fd 160000 --- a/jedi +++ b/jedi @@ -1 +1 @@ -Subproject commit 2ba5e363c972cbe3f61badfa7443079104263aa3 +Subproject commit b8b04fdb9992095595c419912f0d9afd90bcb065 diff --git a/plugin/jedi_vim.py b/plugin/jedi_vim.py index 381faf1..b1b40d1 100644 --- a/plugin/jedi_vim.py +++ b/plugin/jedi_vim.py @@ -163,6 +163,8 @@ def clear_func_def(): def show_func_def(call_def=None, completion_lines=0): + if vim.eval("has('conceal')") == '0': + return try: if call_def == None: call_def = get_script().get_in_function_call()