mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-14 11:14:36 +02:00
lib/types: flip maybeRaw
's merge function
`maybeRaw` should prioritise merging `rawLua` before the other type
This commit is contained in:
parent
cd76b4feb8
commit
7886be8760
2 changed files with 17 additions and 2 deletions
|
@ -92,7 +92,7 @@
|
|||
toolType = opt.type.nestedTypes.left;
|
||||
# toolType is a `either (enum possible) rawLua
|
||||
# Look into `nestedTypes.left` for the enum
|
||||
possible = toolType.nestedTypes.left;
|
||||
possible = toolType.nestedTypes.elemType;
|
||||
# possible is an enum, look into functor.payload for the variants
|
||||
toolList = possible.functor.payload;
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue