From 30acaf5b77eb64a920102d8c1880aafd28cba18c Mon Sep 17 00:00:00 2001 From: leo60228 Date: Thu, 19 Nov 2020 13:35:30 -0500 Subject: [PATCH] null --- queries/nix/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) 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