Skip to content

Commit

Permalink
fix: issue customising adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Mar 8, 2024
1 parent cd610db commit d015d4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/codecompanion/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ local defaults = {
M.setup = function(opts)
M.options = vim.tbl_deep_extend("force", {}, defaults, opts or {})

if opts and opts.adapters then
M.options.adapters = opts.adapters
end

M.INFO_NS = vim.api.nvim_create_namespace("CodeCompanion-info")
M.ERROR_NS = vim.api.nvim_create_namespace("CodeCompanion-error")

Expand Down

0 comments on commit d015d4f

Please sign in to comment.