mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-06 17:11:05 +01:00
treewide: remove internal use of helpers module arg
This commit is contained in:
parent
7add68e918
commit
dad19c1238
68 changed files with 687 additions and 758 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
|
@ -14,12 +13,12 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
settingsOptions = {
|
||||
dimming = {
|
||||
alpha = helpers.defaultNullOpts.mkProportion 0.25 ''
|
||||
alpha = lib.nixvim.defaultNullOpts.mkProportion 0.25 ''
|
||||
Amount of dimming.
|
||||
'';
|
||||
|
||||
color =
|
||||
helpers.defaultNullOpts.mkListOf types.str
|
||||
lib.nixvim.defaultNullOpts.mkListOf types.str
|
||||
[
|
||||
"Normal"
|
||||
"#ffffff"
|
||||
|
|
@ -28,33 +27,33 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
Highlight groups / colors to use.
|
||||
'';
|
||||
|
||||
term_bg = helpers.defaultNullOpts.mkStr "#000000" ''
|
||||
term_bg = lib.nixvim.defaultNullOpts.mkStr "#000000" ''
|
||||
If `guibg=NONE`, this will be used to calculate text color.
|
||||
'';
|
||||
|
||||
inactive = helpers.defaultNullOpts.mkBool false ''
|
||||
inactive = lib.nixvim.defaultNullOpts.mkBool false ''
|
||||
When true, other windows will be fully dimmed (unless they contain the same buffer).
|
||||
'';
|
||||
};
|
||||
|
||||
context = helpers.defaultNullOpts.mkUnsignedInt 10 ''
|
||||
context = lib.nixvim.defaultNullOpts.mkUnsignedInt 10 ''
|
||||
Amount of lines we will try to show around the current line.
|
||||
'';
|
||||
|
||||
treesitter = helpers.defaultNullOpts.mkBool true ''
|
||||
treesitter = lib.nixvim.defaultNullOpts.mkBool true ''
|
||||
Use `treesitter` when available for the filetype.
|
||||
`treesitter` is used to automatically expand the visible text, but you can further control
|
||||
the types of nodes that should always be fully expanded.
|
||||
'';
|
||||
|
||||
expand = helpers.defaultNullOpts.mkListOf types.str [
|
||||
expand = lib.nixvim.defaultNullOpts.mkListOf types.str [
|
||||
"function"
|
||||
"method"
|
||||
"table"
|
||||
"if_statement"
|
||||
] "For treesitter, we will always try to expand to the top-most ancestor with these types.";
|
||||
|
||||
exclude = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
||||
exclude = lib.nixvim.defaultNullOpts.mkListOf types.str [ ] ''
|
||||
Exclude these filetypes.
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue