on master help sign in
Update tree-sitter-git-commit, add comment textobject (#6439)
d7431dbMichael Davis
book/src/generated/lang-support.md+1−1
@@ -41,7 +41,7 @@
41| fortran | ✓ | | ✓ | `fortls` |
41| fortran | ✓ | | ✓ | `fortls` |
42| gdscript | ✓ | ✓ | ✓ | |
42| gdscript | ✓ | ✓ | ✓ | |
43| git-attributes | ✓ | | | |
43| git-attributes | ✓ | | | |
44−| git-commit | ✓ | | | |
44+| git-commit | ✓ | ✓ | | |
45| git-config | ✓ | | | |
45| git-config | ✓ | | | |
46| git-ignore | ✓ | | | |
46| git-ignore | ✓ | | | |
47| git-rebase | ✓ | | | |
47| git-rebase | ✓ | | | |
languages.toml+1−1
@@ -1194,7 +1194,7 @@ text-width = 72
1194
1194
1195[[grammar]]
1195[[grammar]]
1196name = "git-commit"
1196name = "git-commit"
1197−source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "318dd72abfaa7b8044c1d1fbeabcd06deaaf038f" }
1197+source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "7421fd81840950c0ff4191733cee3b6ac06cb295" }
1198
1198
1199[[language]]
1199[[language]]
1200name = "diff"
1200name = "diff"
runtime/queries/git-commit/textobjects.scmnew file+2
@@ -0,0 +1,2 @@
1+(comment) @comment.inside
2+(comment)+ @comment.around