aboutsummaryrefslogtreecommitdiff
path: root/plugins/drawwhitespace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/drawwhitespace.lua')
-rw-r--r--plugins/drawwhitespace.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/drawwhitespace.lua b/plugins/drawwhitespace.lua
index 0e4cf19..a0eb77d 100644
--- a/plugins/drawwhitespace.lua
+++ b/plugins/drawwhitespace.lua
@@ -31,7 +31,7 @@ function DocView:draw_line_text(idx, x, y)
end
command.add("core.docview", {
- ["drawwhitespace:toggle"] = function() config.draw_whitespace = not config.draw_whitespace end,
- ["drawwhitespace:no"] = function() config.draw_whitespace = false end,
- ["drawwhitespace:yes"] = function() config.draw_whitespace = true end,
+ ["drawwhitespace:toggle"] = function() config.draw_whitespace = not config.draw_whitespace end,
+ ["drawwhitespace:disable"] = function() config.draw_whitespace = false end,
+ ["drawwhitespace:enable"] = function() config.draw_whitespace = true end,
})