summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimujjal <himu@tuta.io>2021-04-02 05:42:16 +0530
committerStephan Seitz <stephan.lauf@yahoo.de>2021-04-02 03:29:21 +0200
commit0b2ec9d26685bd4b1e5637ab21beaf216f9b2269 (patch)
treee07df6b9c312b6c71e339e1dd85db4a12bce5746
parent83bfcde7c28514b6ba8f9c921a5cf9893eedb1bd (diff)
improved zig grammar and queries
-rw-r--r--lockfile.json2
-rw-r--r--queries/zig/highlights.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lockfile.json b/lockfile.json
index 97e5bd67..025b39df 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -168,6 +168,6 @@
"revision": "2240ccd0538c8f41394b9cd2202a175b1660b8d6"
},
"zig": {
- "revision": "f445ec51b1e1503e44c562bb669eeff8db5e4ea7"
+ "revision": "05d6f44e5ae8fe986a7ca09ce2a301aa5148a20f"
}
}
diff --git a/queries/zig/highlights.scm b/queries/zig/highlights.scm
index d1dcb866..94c8d5d5 100644
--- a/queries/zig/highlights.scm
+++ b/queries/zig/highlights.scm
@@ -22,7 +22,7 @@
function: (identifier) @function)
(build_in_call_expr
- function: (identifier) @function
+ function: (identifier) @function.builtin
)
;; other identifiers