mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-21 03:11:17 +00:00
Compare commits
No commits in common. "ed31499ad65e97a6210291848aff6dd9f9b137d0" and "a6f8df678549829a0dfcd6d7609ee098efeacb09" have entirely different histories.
ed31499ad6
...
a6f8df6785
3 changed files with 7 additions and 36 deletions
|
|
@ -199,7 +199,6 @@
|
|||
Inspiration from `vim.languages.clang.dap` implementation.
|
||||
- Add [leetcode.nvim] plugin under `vim.utility.leetcode-nvim`.
|
||||
- Add [codecompanion.nvim] plugin under `vim.assistant.codecompanion-nvim`.
|
||||
- Fix [codecompanion-nvim] plugin: nvim-cmp error and setupOpts defaults.
|
||||
|
||||
[nezia1](https://github.com/nezia1):
|
||||
|
||||
|
|
|
|||
|
|
@ -9,14 +9,7 @@ in {
|
|||
|
||||
setupOpts = mkPluginSetupOption "codecompanion-nvim" {
|
||||
opts = {
|
||||
send_code =
|
||||
mkEnableOption ""
|
||||
// {
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable code being sent to the LLM.
|
||||
'';
|
||||
};
|
||||
send_code = mkEnableOption "code from being sent to the LLM.";
|
||||
|
||||
log_level = mkOption {
|
||||
type = enum ["DEBUG" "INFO" "ERROR" "TRACE"];
|
||||
|
|
@ -37,10 +30,7 @@ in {
|
|||
mkEnableOption ""
|
||||
// {
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable a diff view
|
||||
to see the changes made by the LLM.
|
||||
'';
|
||||
description = "a diff view to see the changes made by the LLM.";
|
||||
};
|
||||
|
||||
close_chat_at = mkOption {
|
||||
|
|
@ -74,12 +64,7 @@ in {
|
|||
};
|
||||
|
||||
chat = {
|
||||
auto_scroll =
|
||||
mkEnableOption ""
|
||||
// {
|
||||
default = true;
|
||||
description = "Whether to enable automatic page scrolling.";
|
||||
};
|
||||
auto_scroll = mkEnableOption "automatic page scrolling.";
|
||||
|
||||
show_settings = mkEnableOption ''
|
||||
LLM settings to appear at the top of the chat buffer.
|
||||
|
|
@ -100,18 +85,14 @@ in {
|
|||
mkEnableOption ""
|
||||
// {
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable references in the chat buffer.
|
||||
'';
|
||||
description = "references in the chat buffer.";
|
||||
};
|
||||
|
||||
show_token_count =
|
||||
mkEnableOption ""
|
||||
// {
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable the token count for each response.
|
||||
'';
|
||||
description = "the token count for each response.";
|
||||
};
|
||||
|
||||
intro_message = mkOption {
|
||||
|
|
@ -174,10 +155,7 @@ in {
|
|||
mkEnableOption ""
|
||||
// {
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable showing default
|
||||
actions in the action palette.
|
||||
'';
|
||||
description = "showing default actions in the action palette.";
|
||||
};
|
||||
|
||||
show_default_prompt_library =
|
||||
|
|
@ -185,8 +163,7 @@ in {
|
|||
// {
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable showing default
|
||||
prompt library in the action palette.
|
||||
showing default prompt library in the action palette.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -22,11 +22,6 @@ in {
|
|||
};
|
||||
|
||||
treesitter.enable = true;
|
||||
|
||||
autocomplete.nvim-cmp = {
|
||||
sources = {codecompanion-nvim = "[codecompanion]";};
|
||||
sourcePlugins = ["codecompanion-nvim"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue