1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-14 01:57:58 +08:00

fix(flygrep): fix setup function

This commit is contained in:
Eric Wong 2025-02-03 00:46:09 +08:00
parent 031d18a541
commit 6d72766f36
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -47,9 +47,11 @@ M.setup = function(conf)
return
end
M.color_templete = conf.color_templete or M.color_templete
M.timeout = conf.timeout or M.timeout
M.command = vim.tbl_deep_extend('force', {}, M.command, conf.command or {})
M.color_templete = vim.tbl_deep_extend('force', {}, M.color_templete, conf.color_templete or {})
M.matched_higroup = conf.matched_higroup or M.matched_higroup
M.enable_preview = conf.enable_preview
end
return M