aboutsummaryrefslogtreecommitdiff
path: root/plugins/drawwhitespace.lua
diff options
context:
space:
mode:
authorSwissalpS <Luke@SwissalpS.ws>2020-06-26 22:33:56 +0200
committerSwissalpS <Luke@SwissalpS.ws>2020-06-26 22:33:56 +0200
commit3d9c5d596f1aa5c555e3e31a5c4c467382832811 (patch)
treec61407b0c6c9d3c991f67092b198989fcb8a54ba /plugins/drawwhitespace.lua
parent59dfc5f3911fe701b32810a2f967ff57ec4dc2ea (diff)
downloadlite-xl-plugins-3d9c5d596f1aa5c555e3e31a5c4c467382832811.tar.gz
lite-xl-plugins-3d9c5d596f1aa5c555e3e31a5c4c467382832811.zip
change command names
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 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,
})