mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-17 15:49:07 +00:00
Compare commits
No commits in common. "b99308bd70674cccdce4bbb5b302b09764ab8175" and "9f6413e891c02168e954f0e29ed56ff59fd09d16" have entirely different histories.
b99308bd70
...
9f6413e891
4 changed files with 20 additions and 16 deletions
|
|
@ -15,7 +15,7 @@ plugin to the runtime, you need to add it to the [](#opt-vim.startPlugins) list
|
|||
in your configuration.
|
||||
|
||||
Adding a plugin to `startPlugins` will not allow you to configure the plugin
|
||||
that you have added, but **nvf** provides multiple ways of configuring any custom
|
||||
that you have added, but **nvf** provides multiple way of configuring any custom
|
||||
plugins that you might have added to your configuration.
|
||||
|
||||
```{=include=} sections
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ in {
|
|||
default = "claude";
|
||||
description = ''
|
||||
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`.
|
||||
'';
|
||||
};
|
||||
|
|
@ -125,10 +124,7 @@ in {
|
|||
mkEnableOption ""
|
||||
// {
|
||||
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 =
|
||||
|
|
|
|||
|
|
@ -21,12 +21,23 @@ in {
|
|||
package = avante-nvim;
|
||||
setupModule = "avante";
|
||||
inherit (cfg) setupOpts;
|
||||
event = ["DeferredUIEnter"];
|
||||
after =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''
|
||||
vim.opt.laststatus = 3
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
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"];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,20 +27,17 @@
|
|||
"hash": "0c1jkhxamfn2md7m1r5b2wpxa26y90b98yzjwf68m3fymalvkn5h"
|
||||
},
|
||||
"avante-nvim": {
|
||||
"type": "GitRelease",
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "yetone",
|
||||
"repo": "avante.nvim"
|
||||
},
|
||||
"pre_releases": false,
|
||||
"version_upper_bound": null,
|
||||
"release_prefix": null,
|
||||
"branch": "main",
|
||||
"submodules": false,
|
||||
"version": "v0.0.23",
|
||||
"revision": "868c13657442b799a5c161940602f99623a08197",
|
||||
"url": "https://api.github.com/repos/yetone/avante.nvim/tarball/v0.0.23",
|
||||
"hash": "11h0fch0whr2mh23940h3k7l6grnp5bqv2nyxywkg1zvj680vpji"
|
||||
"revision": "eb1cd44731783024621beafe4e46204cbc9a4320",
|
||||
"url": "https://github.com/yetone/avante.nvim/archive/eb1cd44731783024621beafe4e46204cbc9a4320.tar.gz",
|
||||
"hash": "1hdb1b74mxq6j10fv0zh6fniwpijwbxjxc59k7xzkqj6q20lad07"
|
||||
},
|
||||
"base16": {
|
||||
"type": "Git",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue