summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lockfile.json2
-rw-r--r--queries/dot/highlights.scm11
2 files changed, 11 insertions, 2 deletions
diff --git a/lockfile.json b/lockfile.json
index 826ff5d4..f7bc419e 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -57,7 +57,7 @@
"revision": "25c71d6a24cdba8f0c74ef40d4d2d93defd7e196"
},
"dot": {
- "revision": "917230743aa10f45a408fea2ddb54bbbf5fbe7b7"
+ "revision": "9ab85550c896d8b294d9b9ca1e30698736f08cea"
},
"eex": {
"revision": "f742f2fe327463335e8671a87c0b9b396905d1d1"
diff --git a/queries/dot/highlights.scm b/queries/dot/highlights.scm
index 86bb9b30..f9c6ce7b 100644
--- a/queries/dot/highlights.scm
+++ b/queries/dot/highlights.scm
@@ -1,5 +1,14 @@
(identifier) @type
-(keyword) @keyword
+
+[
+ "strict"
+ "graph"
+ "digraph"
+ "subgraph"
+ "node"
+ "edge"
+] @keyword
+
(string_literal) @string
(number_literal) @number