aboutsummaryrefslogtreecommitdiff
path: root/plugins/scalestatus.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2021-06-14 20:57:07 -0400
committerAdam Harrison <adamdharrison@gmail.com>2021-08-17 09:52:24 -0400
commit5ddb6bf265e2f380497e7925600ca44b7f1d75e2 (patch)
treee598fff814e22b68f0598b23c8611f7bba5c0e71 /plugins/scalestatus.lua
parentdafc573b7261912f35098c92381ac0f43a7353e5 (diff)
downloadlite-xl-plugins-5ddb6bf265e2f380497e7925600ca44b7f1d75e2.tar.gz
lite-xl-plugins-5ddb6bf265e2f380497e7925600ca44b7f1d75e2.zip
Removed check, as scale plugin is in the core.
Diffstat (limited to 'plugins/scalestatus.lua')
-rw-r--r--plugins/scalestatus.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/scalestatus.lua b/plugins/scalestatus.lua
index e43cdd5..8f437d9 100644
--- a/plugins/scalestatus.lua
+++ b/plugins/scalestatus.lua
@@ -4,16 +4,8 @@
displays current scale (zoom) in status view
version: 20200628_155804
originally by SwissalpS
-
- Depends on plugin scale.lua version >= 20200628_154010
--]]
local scale = require "plugins.scale"
--- make sure plugin is installed and has get_scale field
-if not scale then
- local core = require "core"
- core.error("Plugin 'scale' needs to be updated, scalestatus inactive.")
- return false
-end
local config = require "core.config"
local StatusView = require "core.statusview"