aboutsummaryrefslogtreecommitdiff
path: root/plugins/hidestatus.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-03-13 14:53:39 -0400
committerjgmdev <jgmdev@gmail.com>2022-05-22 13:16:10 -0400
commit8b3f210ebf5b5ab4f8375562675a60274172d82e (patch)
treeade51079d5d4b8d8d0186737c7b2bb657e90babb /plugins/hidestatus.lua
parentcd910db45c591b05902fe5bd82fe1f2a084dee6c (diff)
downloadlite-xl-plugins-8b3f210ebf5b5ab4f8375562675a60274172d82e.tar.gz
lite-xl-plugins-8b3f210ebf5b5ab4f8375562675a60274172d82e.zip
hidestatus: remove since the statusbar provides this now
Diffstat (limited to 'plugins/hidestatus.lua')
-rw-r--r--plugins/hidestatus.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/hidestatus.lua b/plugins/hidestatus.lua
deleted file mode 100644
index 7189f49..0000000
--- a/plugins/hidestatus.lua
+++ /dev/null
@@ -1,19 +0,0 @@
--- mod-version:3 --lite-xl 2.1
-local command = require "core.command"
-local StatusView = require "core.statusview"
-
-local visible = false
-local funcs = {
- [true] = StatusView.update,
- [false] = function(self) self.size.y = 0 end,
-}
-
-function StatusView:update(...)
- funcs[visible](self, ...)
-end
-
-command.add(nil, {
- ["hide-status:toggle"] = function() visible = not visible end,
- ["hide-status:hide"] = function() visible = false end,
- ["hide-status:show"] = function() visible = true end,
-})