mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
49
runtime/queries/dot/highlights.scm
Normal file
49
runtime/queries/dot/highlights.scm
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
(identifier) @type
|
||||
|
||||
[
|
||||
"strict"
|
||||
"graph"
|
||||
"digraph"
|
||||
"subgraph"
|
||||
"node"
|
||||
"edge"
|
||||
] @keyword
|
||||
|
||||
(string_literal) @string
|
||||
|
||||
(number_literal) @number
|
||||
|
||||
[
|
||||
(edgeop)
|
||||
(operator)
|
||||
] @operator
|
||||
|
||||
[
|
||||
","
|
||||
";"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket
|
||||
|
||||
(subgraph
|
||||
id: (id
|
||||
(identifier) @module))
|
||||
|
||||
(attribute
|
||||
name: (id
|
||||
(identifier) @variable.member))
|
||||
|
||||
(attribute
|
||||
value: (id
|
||||
(identifier) @constant))
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(preproc) @keyword.directive
|
||||
Loading…
Add table
Add a link
Reference in a new issue