summaryrefslogtreecommitdiff
path: root/vimperator/plugin/buftabs.js
diff options
context:
space:
mode:
Diffstat (limited to 'vimperator/plugin/buftabs.js')
-rw-r--r--vimperator/plugin/buftabs.js7
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