fix a few remaining name problems, that have been forgotten

This commit is contained in:
David Halter
2013-08-20 16:19:42 +04:30
parent 6ed0b78c90
commit a74c3bd29a
2 changed files with 3 additions and 3 deletions

View File

@@ -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'

View File

@@ -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