Open
Description
Field | Description |
---|---|
Plugin | avante |
Nixpkgs | unstable |
Home Manager | not used |
- I have read the FAQ and my bug is not listed there.
Description
Minimal, Reproducible Example (MRE)
checkhealth
shows the following:
avante: require("avante.health").check()
avante.nvim ~
- ERROR Missing required plugin: MunifTanjim/nui.nvim
- ERROR Missing required plugin: nvim-lua/plenary.nvim
- OK Found required plugin: nvim-treesitter/nvim-treesitter
- ERROR Missing required plugin: stevearc/dressing.nvim
- OK Found icons plugin (nvim-web-devicons or mini.icons)
But all these plugins are installed and detected by other plugins that need them.
See https://git.homefree.host/homefree/nixvim-config/src/branch/main/plugins/avante.nix
programs.nixvim.plugins = {
## required dependencies
dressing.enable = true; # this is archived and may break in the future
nui.enable = true;
# Treesitter enabled elsewhere
## optional dependencies
cmp.enable = true;
copilot-lua.enable = true;
fzf-lua.enable = true;
mini.enable = true;
telescope.enable = true;
web-devicons.enable = true;
avante = {
enable = true;
settings = {
provider = "copilot";
files = {
auto_include = true; # Automatically include relevant files
max_files = 50; # Maximum number of files to include in context
max_size_kb = 1000; # Maximum total size of files in KB
# Define which files to include/exclude
include = [
"*.lua"
"*.nix"
"*.rs"
"*.ts"
"*.js"
"*.jsx"
"*.tsx"
# Add more patterns as needed
];
exclude = [
"node_modules/**"
"dist/**"
".git/**"
# Add more patterns to exclude
];
};
};
};
};
};