forked from helix-editor/helix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tree-sitter-git-config (helix-editor#1426)
* add tree-sitter-git-config * add todo comment for improving filetype check
- Loading branch information
1 parent
e44da3f
commit 02e5d1d
Showing
5 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tree-sitter-git-config
added at
0e4f0b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
((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 | ||
|
||
(comment) @comment |