feat: add gitconfig

This commit is contained in:
Amaan Qureshi 2023-03-09 18:07:54 -05:00
parent d2a7022d5d
commit 0db1cc348e
5 changed files with 60 additions and 0 deletions

View file

View file

@ -0,0 +1,46 @@
; Sections
(section_name) @type
((section_name) @include
(#eq? @include "include"))
((section_header
(section_name) @include
(subsection_name))
(#eq? @include "includeIf"))
(variable (name) @property)
; Operators
[
"="
] @operator
; Literals
(integer) @number
[
(true)
(false)
] @boolean
(string) @string
((string) @text.uri
(#match? @text.uri "^(~|./|/)"))
(section_header
[
"\""
(subsection_name)
] @string.special)
; Punctuation
[ "[" "]" ] @punctuation.bracket
; Comments
(comment) @comment @spell