mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 05:37:57 +08:00
fix(flygrep): fix setup function
This commit is contained in:
parent
031d18a541
commit
6d72766f36
@ -47,9 +47,11 @@ M.setup = function(conf)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
M.color_templete = conf.color_templete or M.color_templete
|
|
||||||
|
|
||||||
M.timeout = conf.timeout or M.timeout
|
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
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user