File tree Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 424424 branch = master
425425 update = none
426426 ignore = dirty
427+ [submodule "repos/gitignore "]
428+ path = repos/gitignore
429+ url = https://github.com/shunsambongi/tree-sitter-gitignore
430+ branch = main
431+ update = none
432+ ignore = dirty
Original file line number Diff line number Diff line change 11# Changelog
22
33## Unreleased
4+ - Add ` gitignore ` support
45
56## 0.12.56 - 2023-10-05
67- Add ` gitattributes ` support
Original file line number Diff line number Diff line change 1+ (comment) @comment @spell
2+
3+ [
4+ (directory_separator)
5+ (directory_separator_escaped)
6+ ] @punctuation.delimiter
7+
8+ [
9+ (wildcard_char_single)
10+ (wildcard_chars)
11+ (wildcard_chars_allow_slash)
12+ (bracket_negation)
13+ ] @operator
14+
15+ (negation) @punctuation.special
16+
17+ [
18+ (pattern_char_escaped)
19+ (bracket_char_escaped)
20+ ] @string.escape
21+
22+ ;; bracket expressions
23+ [
24+ "["
25+ "]"
26+ ] @punctuation.bracket
27+
28+ (bracket_char) @constant
29+ (bracket_range
30+ "-" @operator )
31+ (bracket_char_class) @constant.builtin
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ See `tree-sitter-langs-repos'."
127127 (fortran-mode . fortran)
128128 (gdscript-mode . gdscript)
129129 (gitattributes-mode . gitattributes)
130+ (gitignore-mode . gitignore)
130131 (go-mode . go)
131132 (haskell-mode . haskell)
132133 (hcl-mode . hcl)
You can’t perform that action at this time.
0 commit comments