1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-29 13:41:04 +01:00

treewide: remove internal use of helpers module arg

This commit is contained in:
Matt Sturgeon 2025-11-19 11:39:41 +00:00
parent 7add68e918
commit dad19c1238
68 changed files with 687 additions and 758 deletions

View file

@ -1,6 +1,5 @@
{
lib,
helpers,
...
}:
with lib;
@ -22,15 +21,15 @@ lib.nixvim.plugins.mkNeovimPlugin {
];
settingsOptions = {
api_key_cmd = helpers.defaultNullOpts.mkStr null ''
api_key_cmd = lib.nixvim.defaultNullOpts.mkStr null ''
The path and arguments to an executable that returns the API key via stdout.
'';
yank_register = helpers.defaultNullOpts.mkStr "+" ''
yank_register = lib.nixvim.defaultNullOpts.mkStr "+" ''
Which register to use for copying.
'';
extra_curl_params = helpers.defaultNullOpts.mkListOf' {
extra_curl_params = lib.nixvim.defaultNullOpts.mkListOf' {
type = types.str;
pluginDefault = null;
description = ''
@ -43,7 +42,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
];
};
show_line_numbers = helpers.defaultNullOpts.mkBool true ''
show_line_numbers = lib.nixvim.defaultNullOpts.mkBool true ''
Whether to show line numbers in the ChatGPT window.
'';
};