717091909bd6

Rename a confusing variable.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 09 Oct 2010 11:14:18 -0400
parents 328f098fb33e
children 756a85290a86
branches/tags (none)
files plugin/gundo.vim

Changes

--- a/plugin/gundo.vim	Sat Oct 09 11:13:06 2010 -0400
+++ b/plugin/gundo.vim	Sat Oct 09 11:14:18 2010 -0400
@@ -573,13 +573,13 @@
 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
 " <cr> - revert to that state
 
-''' % current).splitlines()
+''' % target).splitlines()
 
 vim.command('GundoOpenBuffer')
 vim.command('setlocal modifiable')