From a74c3bd29ac5edde85c6330ebcb4c936adf58283 Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 20 Aug 2013 16:19:42 +0430 Subject: [PATCH] fix a few remaining name problems, that have been forgotten --- after/syntax/python.vim | 2 +- plugin/jedi.vim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/syntax/python.vim b/after/syntax/python.vim index fa24611..7438881 100644 --- a/after/syntax/python.vim +++ b/after/syntax/python.vim @@ -1,7 +1,7 @@ if g:jedi#show_call_signatures == 1 && has('conceal') " conceal is normal for vim >= 7.3 - let e = g:jedi#function_definition_escape + let e = g:jedi#call_signature_escape let l1 = e.'jedi=[^'.e.']*'.e.'[^'.e.']*'.e.'jedi'.e let l2 = e.'jedi=\?[^'.e.']*'.e exe 'syn match jediIgnore "'.l2.'" contained conceal' diff --git a/plugin/jedi.vim b/plugin/jedi.vim index 3a8dabc..4d44fe5 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -29,9 +29,9 @@ let s:deprecations = { \ 'related_names_command': 'usages_command', \ 'autocompletion_command': 'completions_command', \ 'show_function_definition': 'show_call_signatures', -} +\ } -for [key, val] in items(s:settings) +for [key, val] in items(s:deprecations) if exists('g:jedi#'.key) echom "'g:jedi#".key."' is deprecated. Please use 'g:jedi#".value."' instead. Sorry for the inconvenience." exe 'let g:jedi#'.val.' = g:jedi#'.key