mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-17 07:43:21 +00:00
Compare commits
No commits in common. "b1212b77cea8787a840fced07c97d719c5f80653" and "eedb3dd8c47f83f49d652045c843885c81d8819b" have entirely different histories.
b1212b77ce
...
eedb3dd8c4
4 changed files with 11 additions and 25 deletions
|
|
@ -319,7 +319,6 @@
|
||||||
|
|
||||||
- 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,9 +13,7 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = "code from being sent to the LLM.";
|
||||||
Whether to enable code being sent to the LLM.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
log_level = mkOption {
|
log_level = mkOption {
|
||||||
|
|
@ -37,10 +35,7 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = "a diff view to see the changes made by the LLM.";
|
||||||
Whether to enable a diff view
|
|
||||||
to see the changes made by the LLM.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
close_chat_at = mkOption {
|
close_chat_at = mkOption {
|
||||||
|
|
@ -78,7 +73,7 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = "Whether to enable automatic page scrolling.";
|
description = "automatic page scrolling.";
|
||||||
};
|
};
|
||||||
|
|
||||||
show_settings = mkEnableOption ''
|
show_settings = mkEnableOption ''
|
||||||
|
|
@ -100,18 +95,14 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = "references in the chat buffer.";
|
||||||
Whether to enable references in the chat buffer.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
show_token_count =
|
show_token_count =
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = "the token count for each response.";
|
||||||
Whether to enable the token count for each response.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
intro_message = mkOption {
|
intro_message = mkOption {
|
||||||
|
|
@ -174,10 +165,7 @@ in {
|
||||||
mkEnableOption ""
|
mkEnableOption ""
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = "showing default actions in the action palette.";
|
||||||
Whether to enable showing default
|
|
||||||
actions in the action palette.
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
show_default_prompt_library =
|
show_default_prompt_library =
|
||||||
|
|
@ -185,8 +173,7 @@ in {
|
||||||
// {
|
// {
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable showing default
|
showing default prompt library in the action palette.
|
||||||
prompt library in the action palette.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.types) enum str;
|
inherit (lib.types) enum package;
|
||||||
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 = str;
|
type = package;
|
||||||
default = "${lib.getExe pkgs.fzf}";
|
default = "${lib.getExe pkgs.fzf}";
|
||||||
description = "Path to fzf executable";
|
description = "fzf package to use";
|
||||||
};
|
};
|
||||||
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