mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
JediDebugInfo: settings: display full name
This commit is contained in:
committed by
Dave Halter
parent
8e34a59045
commit
eef60e056a
@@ -215,8 +215,8 @@ EOF
|
|||||||
echo '##### Settings'
|
echo '##### Settings'
|
||||||
echo '```'
|
echo '```'
|
||||||
for [k, V] in items(filter(copy(g:), "v:key =~# '\\v^jedi#'"))
|
for [k, V] in items(filter(copy(g:), "v:key =~# '\\v^jedi#'"))
|
||||||
let k = substitute(k, '\v^jedi#', '', '')
|
exe 'let default = '.get(s:default_settings,
|
||||||
exe 'let default = '.get(s:default_settings, k, "'-'")
|
\ substitute(k, '\v^jedi#', '', ''), "'-'")
|
||||||
" vint: -ProhibitUsingUndeclaredVariable
|
" vint: -ProhibitUsingUndeclaredVariable
|
||||||
if default !=# V
|
if default !=# V
|
||||||
echo printf('g:%s = %s (default: %s)', k, string(V), string(default))
|
echo printf('g:%s = %s (default: %s)', k, string(V), string(default))
|
||||||
|
|||||||
Reference in New Issue
Block a user