mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/types: simplify isRawType
No change in behaviour.
This commit is contained in:
parent
69e43a6bf9
commit
2d063c2c24
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ let
|
|||
};
|
||||
in
|
||||
rec {
|
||||
isRawType = v: lib.isAttrs v && lib.hasAttr "__raw" v && lib.isString v.__raw;
|
||||
isRawType = v: v ? __raw && isString v.__raw;
|
||||
|
||||
rawLua = mkOptionType {
|
||||
name = "rawLua";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue