aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/drawwhitespace.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/drawwhitespace.lua b/plugins/drawwhitespace.lua
index ffaf442..656a15d 100644
--- a/plugins/drawwhitespace.lua
+++ b/plugins/drawwhitespace.lua
@@ -32,7 +32,7 @@ function DocView:draw_line_text(idx, x, y)
end
command.add("core.docview", {
- ["drawwhitespace:toggle"] = function() visible = not visible end,
- ["drawwhitespace:no"] = function() visible = false end,
- ["drawwhitespace:yes"] = function() visible = true end,
+ ["drawwhitespace:toggle"] = function() visible = not visible end,
+ ["drawwhitespace:disable"] = function() visible = false end,
+ ["drawwhitespace:enable"] = function() visible = true end,
})