mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
fix a few remaining name problems, that have been forgotten
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user