From 6d1f8fb3c741b873497ec04f38fbc2036842fb7b Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Sat, 9 Oct 2010 11:14:18 -0400 Subject: [PATCH] Rename a confusing variable. --- plugin/gundo.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gundo.vim b/plugin/gundo.vim index adb5c90..2c7ec66 100644 --- a/plugin/gundo.vim +++ b/plugin/gundo.vim @@ -573,13 +573,13 @@ current = changenr(nodes) result = generate(walk_nodes(dag), asciiedges, current).splitlines() 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 = ('''\ " Gundo for %s [%d] " j/k - move between undo states " - revert to that state -''' % current).splitlines() +''' % target).splitlines() vim.command('GundoOpenBuffer') vim.command('setlocal modifiable')