mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-28 10:15:49 -05:00
lib/types: simplify isRawType
No change in behaviour.
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user