mirror of https://github.com/helix-editor/helix
Add Graphviz Dot lang support (#3241)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>pull/3262/head
parent
5ca98edfb1
commit
919edfb323
@ -0,0 +1,43 @@
|
||||
(keyword) @keyword
|
||||
(string_literal) @string
|
||||
(number_literal) @constant.numeric
|
||||
|
||||
[
|
||||
(edgeop)
|
||||
(operator)
|
||||
] @operator
|
||||
|
||||
[
|
||||
","
|
||||
";"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket
|
||||
|
||||
(subgraph
|
||||
id: (id
|
||||
(identifier) @namespace)
|
||||
)
|
||||
|
||||
(attribute
|
||||
name: (id
|
||||
(identifier) @type)
|
||||
value: (id
|
||||
(identifier) @constant)
|
||||
)
|
||||
|
||||
[
|
||||
(comment)
|
||||
(preproc)
|
||||
] @comment
|
||||
|
||||
(ERROR) @error
|
||||
|
||||
(identifier) @variable
|
@ -0,0 +1,2 @@
|
||||
((html_internal) @injection.content
|
||||
(#set! injection.language "html"))
|
Loading…
Reference in New Issue