tree-sitter-gitcommit
tree-sitter-gitcommit copied to clipboard
Support typechange status
typechange: file type changed (regular file, symbolic link or submodule)
Example
# typechange: after/ftplugin/svelte.vim
Parse tree
Current
(generated_comment ; [13, 0] - [13, 39]
(filepath) ; [13, 2] - [13, 13]
(annotation)) ; [13, 14] - [13, 39]
Expected
(generated_comment ; [13, 0] - [13, 39]
(change ; [13, 2] - [13, 13]
kind: (typechange)) ; [13, 2] - [13, 13]
(filepath)) ; [13, 14] - [13, 39]
Interesting ! I'll will try to do someting :)
Fixed by #72 :)