mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the documentation.
This commit is contained in:
parent
2f13e3a21d
commit
af41ea2d80
38 changed files with 80 additions and 75 deletions
|
@ -67,7 +67,7 @@ in {
|
|||
package = helpers.mkPackageOption "oil" pkgs.vimPlugins.oil-nvim;
|
||||
|
||||
columns = let
|
||||
highlightsOption = helpers.mkNullOrOption (with types; either str helpers.rawType) ''
|
||||
highlightsOption = helpers.mkNullOrOption (with types; either str helpers.nixvimTypes.rawLua) ''
|
||||
A string or a lua function (`fun(value: string): string`).
|
||||
Highlight group, or function that returns a highlight group.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue