aboutsummaryrefslogtreecommitdiff
path: root/plugins/smoothcaret.lua
diff options
context:
space:
mode:
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()