aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrydesun <rydesun@gmail.com>2022-08-25 12:28:13 +0800
committerStephan Seitz <stephan.seitz@fau.de>2022-08-24 23:10:26 -0700
commitbc319bd0c2dba4ddfda7549042adeb6758b57c4a (patch)
treecf705cfe488a296f58880804abbfa0b90a1d0180
parenthighlights(java): add "non-sealed" keyword (diff)
downloadnvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.tar
nvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.tar.gz
nvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.tar.bz2
nvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.tar.lz
nvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.tar.xz
nvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.tar.zst
nvim-treesitter-bc319bd0c2dba4ddfda7549042adeb6758b57c4a.zip
highlights(DOT): update keywords
-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 826ff5d42..f7bc419e2 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 86bb9b303..f9c6ce7b1 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