nvim: Fix codecompanion-history option setting

Missing encasing opts table so the options were ignored, now added.
This commit is contained in:
Marty Oehme 2025-12-04 22:00:58 +01:00
parent 1c96ea6d81
commit 5c565b61e1
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -175,11 +175,13 @@ return {
extensions = { extensions = {
history = { history = {
enabled = true, enabled = true,
auto_save = false, opts = {
expiration_days = 7, auto_save = true,
expiration_days = 14,
picker = "fzf-lua", picker = "fzf-lua",
delete_on_clearing_chat = true, delete_on_clearing_chat = true,
}, },
},
gitcommit = { gitcommit = {
enabled = true, enabled = true,
callback = "codecompanion._extensions.gitcommit", callback = "codecompanion._extensions.gitcommit",