mirror of
https://github.com/helix-editor/helix
synced 2026-05-04 05:30:40 +02:00
42 lines
731 B
Scheme
42 lines
731 B
Scheme
; inherits: git-ignore
|
|
|
|
(attribute) @variable
|
|
(value) @string
|
|
|
|
(quoted_pattern ["\""] @string)
|
|
|
|
(attribute_unset) @operator
|
|
(attribute_set_to) @operator
|
|
|
|
; Highlight builtin diff configuration
|
|
; The list of languages is taken from here https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
|
|
(attribute_set_to
|
|
(attribute) @operator (#eq? @operator "diff")
|
|
(value) @variable.builtin (#any-of? @variable.builtin
|
|
"ada"
|
|
"bash"
|
|
"bibtex"
|
|
"cpp"
|
|
"csharp"
|
|
"css"
|
|
"dts"
|
|
"elixir"
|
|
"fortran"
|
|
"fountain"
|
|
"golang"
|
|
"html"
|
|
"java"
|
|
"kotlin"
|
|
"markdown"
|
|
"matlab"
|
|
"objc"
|
|
"pascal"
|
|
"perl"
|
|
"php"
|
|
"python"
|
|
"ruby"
|
|
"rust"
|
|
"scheme"
|
|
"tex"
|
|
))
|