aboutsummaryrefslogtreecommitdiff
path: root/plugins/smoothcaret.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/smoothcaret.lua
parentc569b3b3697c1656c78ec4b4d233d4ed78fa898a (diff)
downloadlite-xl-plugins-3fcf065be6387c5bb38a46924f5ea1a7bb17850d.tar.gz
lite-xl-plugins-3fcf065be6387c5bb38a46924f5ea1a7bb17850d.zip
Appropriately merged config hashes.
Diffstat (limited to 'plugins/smoothcaret.lua')
-rw-r--r--plugins/smoothcaret.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/smoothcaret.lua b/plugins/smoothcaret.lua
index 2c05664..335dd08 100644
--- a/plugins/smoothcaret.lua
+++ b/plugins/smoothcaret.lua
@@ -2,9 +2,10 @@
local core = require "core"
local config = require "core.config"
local style = require "core.style"
+local common = require "core.common"
local DocView = require "core.docview"
-config.plugins.smoothcaret = { rate = 0.65 }
+config.plugins.smoothcaret = common.merge({ rate = 0.65 }, config.plugins.smoothcaret)
local docview_update = DocView.update
function DocView:update()