aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/git-config/highlights.scm
blob: 456639ce33cadf8bebe913b16957ac06aa257fe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
((section_name) @keyword.directive
 (#eq? @keyword.directive "include"))

((section_header
   (section_name) @keyword.directive
   (subsection_name))
 (#eq? @keyword.directive "includeIf"))

(section_name) @markup.heading
(variable (name) @variable.other.member)
[(true) (false)] @constant.builtin.boolean
(integer) @constant.numeric.integer

((string) @string.special.path
 (#match? @string.special.path "^(~|./|/)"))

[(string) (subsection_name)] @string

[
  "["
  "]"
] @punctuation.bracket

["=" "\\"] @punctuation.delimiter

(escape_sequence) @constant.character.escape

(comment) @comment