Commit Graph

12 Commits

Author SHA1 Message Date
Sam Simmons
e2dd66b729 added public show/hide methods and matched toggle open/close method 2012-04-13 00:42:46 -05:00
heavenshell
3f41a2cb6d Add r mapping to preview current status 2012-02-16 21:17:21 +09:00
heavenshell
61c3685c6a Add auto preview global option 2012-02-16 00:18:49 +09:00
Göran Gustafsson
aa7e5f10bc Added statusline settings. Fixed indentation
I want to use a custom statusline for both Gundo splits so i added two
variables for it setting it. If the variables are empty Gundo works like
normal but if there is something in them the text get used. Example:
  let g:gundo_preview_statusline = "Gundo Preview"
  let g:gundo_tree_statusline = "Gundo Tree"

The indentation was off in a few places so i fixed it. The real tabs was
removed and replaced with spaces like the rest of the source file.
2012-02-05 09:33:52 +01:00
Eli Gundry
50092711ff Added :GundoHide & :GundoShow for easier scripting 2011-12-31 17:37:13 -05:00
Steve Losh
12b6f67aeb Merge. 2011-09-19 08:37:53 -04:00
Strahinja Markovic
4ef4d54aa0 Fix a logic bug with python3 detection
Bug was introduced with previous commit.
2011-08-29 14:39:27 +02:00
Strahinja Markovic
9271614008 Fix bug with python3 support crashing Gundo
The recent change that introduced python3 support also made it the default
python version used for Gundo. This caused a problem with certain versions of
vim where upon toggling the Gundo window, we would be greeted with an error
message: "This Vim cannot execute :py3 after using :python"

This commit adds a g:gundo_prefer_python3 variable (default 0) that can be used
to set a preference for python3. By default, python2 will be used.

This also required moving the variable initialization code to the top, since
just evaluating `has('python3')` seems to trigger the vim error.
2011-08-29 14:13:01 +02:00
Matthew Bell
e90ec8b55d Fixed an issue with return syntax that breaks in python 2.4 2011-08-27 16:38:43 -07:00
lilydjwg
b1a9bae565 Add Python3 support 2011-07-30 17:07:25 +08:00
Steve Losh
63ca27fa2a Formatting. 2011-06-28 16:58:00 -04:00
Kien N
52c65f2eb4 Move most of the script to autoload 2011-06-29 03:06:37 +07:00