aboutsummaryrefslogtreecommitdiff
path: root/plugins/minimap.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/minimap.lua
parentc569b3b3697c1656c78ec4b4d233d4ed78fa898a (diff)
downloadlite-xl-plugins-3fcf065be6387c5bb38a46924f5ea1a7bb17850d.tar.gz
lite-xl-plugins-3fcf065be6387c5bb38a46924f5ea1a7bb17850d.zip
Appropriately merged config hashes.
Diffstat (limited to 'plugins/minimap.lua')
-rw-r--r--plugins/minimap.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/minimap.lua b/plugins/minimap.lua
index 7bf0a92..977e2ee 100644
--- a/plugins/minimap.lua
+++ b/plugins/minimap.lua
@@ -8,7 +8,7 @@ local DocView = require "core.docview"
local Object = require "core.object"
-- General plugin settings
-config.plugins.minimap = {
+config.plugins.minimap = common.merge({
enabled = true,
width = 100,
instant_scroll = false,
@@ -39,7 +39,7 @@ config.plugins.minimap = {
-- config.plugins.minimap.highlight_align = 'right'
-- config.plugins.minimap.highlight_width = 5
-- config.plugins.minimap.gutter_width = 0
-}
+}, config.plugins.minimap)
-- Configure size for rendering each char in the minimap
local char_height = 1 * SCALE * config.plugins.minimap.scale