mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +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
|
@ -190,7 +190,7 @@ in {
|
|||
miscFormatters = languageTools "misc" "formatters";
|
||||
|
||||
mkChooseOption = lang: kind: possible: let
|
||||
toolType = with types; either (enum possible) helpers.rawType;
|
||||
toolType = with types; either (enum possible) helpers.nixvimTypes.rawLua;
|
||||
in
|
||||
mkOption {
|
||||
type = with types; either toolType (listOf toolType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue