File tree Expand file tree Collapse file tree 5 files changed +42
-0
lines changed Expand file tree Collapse file tree 5 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 430430 branch = main
431431 update = none
432432 ignore = dirty
433+ [submodule "repos/gitcommit "]
434+ path = repos/gitcommit
435+ url = https://github.com/gbprod/tree-sitter-gitcommit
436+ branch = main
437+ update = none
438+ ignore = dirty
Original file line number Diff line number Diff line change 11# Changelog
22
33## Unreleased
4+ - Add ` gitcommit ` support
45
56## 0.12.57 - 2023-10-05
67- Add ` gitignore ` support
Original file line number Diff line number Diff line change 1+ (comment) @comment
2+ (generated_comment) @comment
3+ (title) @text.title
4+ (text) @text
5+ (branch) @text.reference
6+ (change) @keyword
7+ (filepath) @text.uri
8+ (arrow) @punctuation.delimiter
9+
10+ (subject) @text.title
11+ (subject (overflow) @text )
12+ (prefix (type) @keyword )
13+ (prefix (scope) @parameter )
14+ (prefix [
15+ "("
16+ ")"
17+ ":"
18+ ] @punctuation.delimiter )
19+ (prefix [
20+ "!"
21+ ] @punctuation.special )
22+
23+ (message) @text
24+
25+ (trailer (token) @keyword )
26+ (trailer (value) @text )
27+
28+ (breaking_change (token) @text.warning )
29+ (breaking_change (value) @text )
30+
31+ (scissor) @comment
32+
33+ (ERROR) @error
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ See `tree-sitter-langs-repos'."
126126 (f90-mode . fortran)
127127 (fortran-mode . fortran)
128128 (gdscript-mode . gdscript)
129+ (git-commit-mode . gitcommit)
129130 (gitattributes-mode . gitattributes)
130131 (gitignore-mode . gitignore)
131132 (go-mode . go)
You can’t perform that action at this time.
0 commit comments