diff options
| -rw-r--r-- | queries/nix/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/nix/highlights.scm b/queries/nix/highlights.scm index 4ee2da989..a5cefbb06 100644 --- a/queries/nix/highlights.scm +++ b/queries/nix/highlights.scm @@ -66,6 +66,9 @@ ; import ((identifier) @_i (#eq? @_i "import")) @include +; null +((identifier) @_i (#eq? @_i "import")) @constant.builtin + ; these are technically functions but they act more like keywords (abort and throw are control flow, derivation is a core language construct) ((identifier) @_i (#match? @_i "^(abort|derivation|throw)$")) @keyword |
