Compare commits

..

6 commits

Author SHA1 Message Date
Farouk Brown
b99308bd70
Merge branch 'main' into main 2025-04-25 06:10:08 +01:00
raf
fc6c11631b
Merge pull request #857 from Brian-ED/patch-1
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
docs: fix typo
2025-04-24 22:27:10 +00:00
Farouk Brown
f8779d1968 chore:set npins to follow nixpkgs avante version 2025-04-24 22:31:45 +01:00
Farouk Brown
75fa8e22b6 fix: lazy load avante.nvim plugin 2025-04-24 22:31:14 +01:00
Farouk Brown
f0fe0b0f62 doc: format descriptions 2025-04-24 22:14:02 +01:00
Brian E
e60fd89a42
fixed typo
plural `way→→→→→→→←→→→→→→` to `ways`
2025-04-24 22:21:15 +02:00
4 changed files with 16 additions and 20 deletions

View file

@ -15,7 +15,7 @@ plugin to the runtime, you need to add it to the [](#opt-vim.startPlugins) list
in your configuration. in your configuration.
Adding a plugin to `startPlugins` will not allow you to configure the plugin Adding a plugin to `startPlugins` will not allow you to configure the plugin
that you have added, but **nvf** provides multiple way of configuring any custom that you have added, but **nvf** provides multiple ways of configuring any custom
plugins that you might have added to your configuration. plugins that you might have added to your configuration.
```{=include=} sections ```{=include=} sections

View file

@ -44,7 +44,8 @@ in {
default = "claude"; default = "claude";
description = '' description = ''
Since auto-suggestions are a high-frequency operation and therefore expensive, Since auto-suggestions are a high-frequency operation and therefore expensive,
currently designating it as `copilot` provider is dangerous because: https://github.com/yetone/avante.nvim/issues/1048 currently designating it as `copilot` provider is dangerous because:
https://github.com/yetone/avante.nvim/issues/1048
Of course, you can reduce the request frequency by increasing `suggestion.debounce`. Of course, you can reduce the request frequency by increasing `suggestion.debounce`.
''; '';
}; };
@ -124,7 +125,10 @@ in {
mkEnableOption "" mkEnableOption ""
// { // {
default = false; default = false;
description = "Whether to support pasting image from clipboard. This will be determined automatically based whether img-clip is available or not."; description = ''
Whether to support pasting image from clipboard.
This will be determined automatically based whether img-clip is available or not.
'';
}; };
minimize_diff = minimize_diff =

View file

@ -21,23 +21,12 @@ in {
package = avante-nvim; package = avante-nvim;
setupModule = "avante"; setupModule = "avante";
inherit (cfg) setupOpts; inherit (cfg) setupOpts;
after = event = ["DeferredUIEnter"];
/*
lua
*/
''
vim.opt.laststatus = 3
'';
}; };
}; };
treesitter.enable = true; treesitter.enable = true;
autocomplete.nvim-cmp = {
sources = {"avante.nvim" = "[avante]";};
sourcePlugins = ["avante-nvim"];
};
languages.markdown.extensions.render-markdown-nvim.setupOpts.file_types = lib.mkAfter ["Avante"]; languages.markdown.extensions.render-markdown-nvim.setupOpts.file_types = lib.mkAfter ["Avante"];
}; };
}; };

View file

@ -27,17 +27,20 @@
"hash": "0c1jkhxamfn2md7m1r5b2wpxa26y90b98yzjwf68m3fymalvkn5h" "hash": "0c1jkhxamfn2md7m1r5b2wpxa26y90b98yzjwf68m3fymalvkn5h"
}, },
"avante-nvim": { "avante-nvim": {
"type": "Git", "type": "GitRelease",
"repository": { "repository": {
"type": "GitHub", "type": "GitHub",
"owner": "yetone", "owner": "yetone",
"repo": "avante.nvim" "repo": "avante.nvim"
}, },
"branch": "main", "pre_releases": false,
"version_upper_bound": null,
"release_prefix": null,
"submodules": false, "submodules": false,
"revision": "eb1cd44731783024621beafe4e46204cbc9a4320", "version": "v0.0.23",
"url": "https://github.com/yetone/avante.nvim/archive/eb1cd44731783024621beafe4e46204cbc9a4320.tar.gz", "revision": "868c13657442b799a5c161940602f99623a08197",
"hash": "1hdb1b74mxq6j10fv0zh6fniwpijwbxjxc59k7xzkqj6q20lad07" "url": "https://api.github.com/repos/yetone/avante.nvim/tarball/v0.0.23",
"hash": "11h0fch0whr2mh23940h3k7l6grnp5bqv2nyxywkg1zvj680vpji"
}, },
"base16": { "base16": {
"type": "Git", "type": "Git",