diff options
author | SwissalpS <Luke@SwissalpS.ws> | 2020-06-26 22:33:56 +0200 |
---|---|---|
committer | SwissalpS <Luke@SwissalpS.ws> | 2020-06-26 22:33:56 +0200 |
commit | 3d9c5d596f1aa5c555e3e31a5c4c467382832811 (patch) | |
tree | c61407b0c6c9d3c991f67092b198989fcb8a54ba | |
parent | 59dfc5f3911fe701b32810a2f967ff57ec4dc2ea (diff) | |
download | lite-xl-plugins-3d9c5d596f1aa5c555e3e31a5c4c467382832811.tar.gz lite-xl-plugins-3d9c5d596f1aa5c555e3e31a5c4c467382832811.zip |
change command names
-rw-r--r-- | plugins/drawwhitespace.lua | 6 |
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, }) |