diff options
author | rxi <rxi@users.noreply.github.com> | 2020-06-27 13:55:57 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-06-27 13:55:57 +0100 |
commit | 62b4fe8d789f3159b3285180e3eb779cbe9d7719 (patch) | |
tree | 52058f38eb0537193194001fb92d5b698f20bf88 | |
parent | 91c72734b5b8ccbccb4200b2fe9b9a5f880f0f36 (diff) | |
download | lite-xl-plugins-62b4fe8d789f3159b3285180e3eb779cbe9d7719.tar.gz lite-xl-plugins-62b4fe8d789f3159b3285180e3eb779cbe9d7719.zip |
Minor change to `drawwhitespace` 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 a0eb77d..f2b68ae 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:disable"] = function() config.draw_whitespace = false end, - ["drawwhitespace:enable"] = function() config.draw_whitespace = true end, + ["draw-whitespace:toggle"] = function() config.draw_whitespace = not config.draw_whitespace end, + ["draw-whitespace:disable"] = function() config.draw_whitespace = false end, + ["draw-whitespace:enable"] = function() config.draw_whitespace = true end, }) |