mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 23:35:13 +00:00
Compare commits
6 commits
eedb3dd8c4
...
b1212b77ce
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1212b77ce | ||
|
|
51d76dd515 | ||
|
585dfca7ca |
|||
|
|
edbadf5d5a |
||
|
d407efa323 |
|||
|
|
2ef9022b58 |
4 changed files with 25 additions and 11 deletions
|
|
@ -319,6 +319,7 @@
|
||||||
|
|
||||||
- Fix oil config referencing snacks
|
- Fix oil config referencing snacks
|
||||||
- Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim`
|
- Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim`
|
||||||
|
- Fix default telescope ignore list entry for '.git/' to properly match
|
||||||
|
|
||||||
[rrvsh](https://github.com/rrvsh):
|
[rrvsh](https://github.com/rrvsh):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,9 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "code from being sent to the LLM.";
|
description = ''
|
||||||
|
Whether to enable code being sent to the LLM.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
log_level = mkOption {
|
log_level = mkOption {
|
||||||
|
|
@ -35,7 +37,10 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "a diff view to see the changes made by the LLM.";
|
description = ''
|
||||||
|
Whether to enable a diff view
|
||||||
|
to see the changes made by the LLM.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
close_chat_at = mkOption {
|
close_chat_at = mkOption {
|
||||||
|
|
@ -73,7 +78,7 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "automatic page scrolling.";
|
description = "Whether to enable automatic page scrolling.";
|
||||||
};
|
};
|
||||||
|
|
||||||
show_settings = mkEnableOption ''
|
show_settings = mkEnableOption ''
|
||||||
|
|
@ -95,14 +100,18 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "references in the chat buffer.";
|
description = ''
|
||||||
|
Whether to enable references in the chat buffer.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
show_token_count =
|
show_token_count =
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "the token count for each response.";
|
description = ''
|
||||||
|
Whether to enable the token count for each response.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
intro_message = mkOption {
|
intro_message = mkOption {
|
||||||
|
|
@ -165,7 +174,10 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "showing default actions in the action palette.";
|
description = ''
|
||||||
|
Whether to enable showing default
|
||||||
|
actions in the action palette.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
show_default_prompt_library =
|
show_default_prompt_library =
|
||||||
|
|
@ -173,7 +185,8 @@ in {
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = ''
|
||||||
showing default prompt library in the action palette.
|
Whether to enable showing default
|
||||||
|
prompt library in the action palette.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.types) enum package;
|
inherit (lib.types) enum str;
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption borderType;
|
inherit (lib.nvim.types) mkPluginSetupOption borderType;
|
||||||
in {
|
in {
|
||||||
|
|
@ -12,9 +12,9 @@ in {
|
||||||
enable = mkEnableOption "fzf-lua";
|
enable = mkEnableOption "fzf-lua";
|
||||||
setupOpts = mkPluginSetupOption "fzf-lua" {
|
setupOpts = mkPluginSetupOption "fzf-lua" {
|
||||||
fzf_bin = mkOption {
|
fzf_bin = mkOption {
|
||||||
type = package;
|
type = str;
|
||||||
default = "${lib.getExe pkgs.fzf}";
|
default = "${lib.getExe pkgs.fzf}";
|
||||||
description = "fzf package to use";
|
description = "Path to fzf executable";
|
||||||
};
|
};
|
||||||
winopts.border = mkOption {
|
winopts.border = mkOption {
|
||||||
type = borderType;
|
type = borderType;
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@
|
||||||
file_ignore_patterns = mkOption {
|
file_ignore_patterns = mkOption {
|
||||||
description = "A table of lua regex that define the files that should be ignored.";
|
description = "A table of lua regex that define the files that should be ignored.";
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = ["node_modules" ".git/" "dist/" "build/" "target/" "result/"];
|
default = ["node_modules" "%.git/" "dist/" "build/" "target/" "result/"];
|
||||||
};
|
};
|
||||||
color_devicons = mkOption {
|
color_devicons = mkOption {
|
||||||
description = "Boolean if devicons should be enabled or not.";
|
description = "Boolean if devicons should be enabled or not.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue