diff options
author | SwissalpS <Luke@SwissalpS.ws> | 2020-06-27 13:17:01 +0200 |
---|---|---|
committer | SwissalpS <Luke@SwissalpS.ws> | 2020-06-27 13:17:01 +0200 |
commit | 080fee63d13c8fcaabd9fed53dd2635c540e4239 (patch) | |
tree | 6f6f41389871aef23aad98f14c21ae363b2764c9 | |
parent | 245386c3d3e2bd4a77cb80ff03896ed3923bf85d (diff) | |
download | lite-xl-plugins-080fee63d13c8fcaabd9fed53dd2635c540e4239.tar.gz lite-xl-plugins-080fee63d13c8fcaabd9fed53dd2635c540e4239.zip |
command name oopsie
-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 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, }) |