mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-14 06:38:44 +02:00
plugins: normalise null
plugin-defaults
Replaced all instances of `"null"` with `null`, when passing plugin-defaults to `defaultNullOpts` functions.
This commit is contained in:
parent
e58380adcd
commit
d136c08f3a
17 changed files with 69 additions and 55 deletions
|
@ -20,7 +20,7 @@ in
|
|||
while opening the folded line, `0` value will disable the highlight
|
||||
'';
|
||||
|
||||
providerSelector = helpers.defaultNullOpts.mkLuaFn "null" ''
|
||||
providerSelector = helpers.defaultNullOpts.mkLuaFn null ''
|
||||
A lua function as a selector for fold providers.
|
||||
'';
|
||||
|
||||
|
@ -31,7 +31,7 @@ in
|
|||
run `UfoInspect` for details if your provider has extended the kinds.
|
||||
'';
|
||||
|
||||
foldVirtTextHandler = helpers.defaultNullOpts.mkLuaFn "null" "A lua function to customize fold virtual text";
|
||||
foldVirtTextHandler = helpers.defaultNullOpts.mkLuaFn null "A lua function to customize fold virtual text";
|
||||
|
||||
enableGetFoldVirtText = helpers.defaultNullOpts.mkBool false ''
|
||||
Enable a function with `lnum` as a parameter to capture the virtual text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue