Rename a confusing variable.
This commit is contained in:
parent
d95f2b5f25
commit
6d1f8fb3c7
@ -573,13 +573,13 @@ current = changenr(nodes)
|
|||||||
result = generate(walk_nodes(dag), asciiedges, current).splitlines()
|
result = generate(walk_nodes(dag), asciiedges, current).splitlines()
|
||||||
result = [' ' + l for l in result]
|
result = [' ' + l for l in result]
|
||||||
|
|
||||||
current = (vim.eval('g:gundo_target_f'), int(vim.eval('g:gundo_target_n')))
|
target = (vim.eval('g:gundo_target_f'), int(vim.eval('g:gundo_target_n')))
|
||||||
INLINE_HELP = ('''\
|
INLINE_HELP = ('''\
|
||||||
" Gundo for %s [%d]
|
" Gundo for %s [%d]
|
||||||
" j/k - move between undo states
|
" j/k - move between undo states
|
||||||
" <cr> - revert to that state
|
" <cr> - revert to that state
|
||||||
|
|
||||||
''' % current).splitlines()
|
''' % target).splitlines()
|
||||||
|
|
||||||
vim.command('GundoOpenBuffer')
|
vim.command('GundoOpenBuffer')
|
||||||
vim.command('setlocal modifiable')
|
vim.command('setlocal modifiable')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user