Compare commits

...

6 commits

Author SHA1 Message Date
army castillo
b1212b77ce Merge branch 'main' into fix/codecompanion-cmp-defaults 2025-04-06 02:49:19 -04:00
army castillo
51d76dd515 assistant/codecompanion-nvim: Description clean up
Added "Whether to enable" to mkEnableOption descriptions with `//`
merge.
2025-04-06 02:48:58 -04:00
raf
585dfca7ca
Merge pull request #804 from ckoehler/fix-telescope-ignore
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
utility/telescope: fix ignore patterns
2025-04-06 05:35:53 +00:00
Christoph Koehler
edbadf5d5a
fix: telescope ignore patterns
".git" is a regex, so because of the '.' it matches more than just
the .git directory, so escape the dot to make it literal. Here, that's
done with a '%'.
2025-04-05 23:22:02 -06:00
raf
d407efa323
Merge pull request #803 from venkyr77/fzf-lua-type-fix
utility/fzf-lua: fix type for fzf-bin
2025-04-06 05:19:35 +00:00
Venkatesan Ravi
2ef9022b58 utility/fzf-lua: fix type for fzf-bin 2025-04-06 05:15:41 +00:00
4 changed files with 25 additions and 11 deletions

View file

@ -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):

View file

@ -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.
''; '';
}; };
}; };

View file

@ -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;

View file

@ -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.";