assistant/codecompanion: fix diff options

This commit is contained in:
Snoweuph 2026-02-01 22:31:12 +01:00
commit 8a7796d7e9
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
2 changed files with 8 additions and 2 deletions

View file

@ -25,6 +25,12 @@
- The `setupOpts.mappings` options were also removed. Use the built-in Neovim - The `setupOpts.mappings` options were also removed. Use the built-in Neovim
settings (nvf's {option}`vim.keymaps`) settings (nvf's {option}`vim.keymaps`)
[Snoweuph](https://github.com/snoweuph)
- Fix `vim.assistant.codecompanion-nvim.setupOpts.display.diff.provider` to only
allow valid options. `default` is no longer valid. `inline` and `split` are
two new valid options.
## Changelog {#sec-release-0-9-changelog} ## Changelog {#sec-release-0-9-changelog}
[taylrfnt](https://github.com/taylrfnt) [taylrfnt](https://github.com/taylrfnt)

View file

@ -59,8 +59,8 @@ in {
}; };
provider = mkOption { provider = mkOption {
type = enum ["default" "mini_diff"]; type = enum ["inline" "split" "mini_diff"];
default = "default"; default = "inline";
description = "The preferred kind of provider."; description = "The preferred kind of provider.";
}; };
}; };