diff --git a/bundle/flygrep.nvim/lua/flygrep/config.lua b/bundle/flygrep.nvim/lua/flygrep/config.lua index 9a5e7b71b..e6cb9a3b6 100644 --- a/bundle/flygrep.nvim/lua/flygrep/config.lua +++ b/bundle/flygrep.nvim/lua/flygrep/config.lua @@ -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