diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-30 00:19:59 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-30 00:21:45 +0100 |
commit | 9d6dbde3abcd6549a6aa433b8a1e49f717a30250 (patch) | |
tree | 057108c13a3a3bde52a616daf62469a2cc214258 | |
parent | ab1018041700e50e56ed04b4782dbc36086938e2 (diff) | |
download | dotfiles-9d6dbde3abcd6549a6aa433b8a1e49f717a30250.tar.xz |
vimperator: updated buftabs
-rw-r--r-- | vimperator/plugin/buftabs.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vimperator/plugin/buftabs.js b/vimperator/plugin/buftabs.js index cb3adcf..5cb46ca 100644 --- a/vimperator/plugin/buftabs.js +++ b/vimperator/plugin/buftabs.js @@ -152,7 +152,7 @@ tabContainer.addEventListener("TabSelect", function (event) { /// Options options.add(["buftabs", "buftabs"], "Control whether to use buftabs in the statusline", - "number", "1", + "boolean", 1, { setter: function (value) { @@ -165,6 +165,7 @@ options.add(["buftabs", "buftabs"], } else { buftabs.destroyBar(); statusline.updateUrl = buftabs._statusline_updateUrl; + statusline.update(); } return value; @@ -172,8 +173,8 @@ options.add(["buftabs", "buftabs"], completer: function (context) [ - ["0", "Don't show buftabs, show the url"], - ["1", "Show buftabs"] + [0, "Don't show buftabs, show the url"], + [1, "Show buftabs"] ], validator: Option.validateCompleter |