aboutsummaryrefslogtreecommitdiff
path: root/plugins/scalestatus.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2021-12-05 22:56:04 -0500
committerjgmdev <jgmdev@gmail.com>2022-05-22 13:02:00 -0400
commit3fcf065be6387c5bb38a46924f5ea1a7bb17850d (patch)
tree19b3c571c7e1beae325049e56e3df12a0a647637 /plugins/scalestatus.lua
parentc569b3b3697c1656c78ec4b4d233d4ed78fa898a (diff)
downloadlite-xl-plugins-3fcf065be6387c5bb38a46924f5ea1a7bb17850d.tar.gz
lite-xl-plugins-3fcf065be6387c5bb38a46924f5ea1a7bb17850d.zip
Appropriately merged config hashes.
Diffstat (limited to 'plugins/scalestatus.lua')
-rw-r--r--plugins/scalestatus.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/scalestatus.lua b/plugins/scalestatus.lua
index 09b62fd..008feaf 100644
--- a/plugins/scalestatus.lua
+++ b/plugins/scalestatus.lua
@@ -6,11 +6,11 @@
originally by SwissalpS
--]]
local scale = require "plugins.scale"
-
+local common = require "core.common"
local config = require "core.config"
local StatusView = require "core.statusview"
-config.plugins.scalestatus = { format = '%.0f%%' }
+config.plugins.scalestatus = common.merge({ format = '%.0f%%' }, config.plugins.scalestatus)
local get_items = StatusView.get_items
function StatusView:get_items()