Treat patches as diff files (#5085)
commitf323ffabcc5846f647e3ba1d3d2ff5dec95257bd
authorDanilo Spinella <oss@danyspin97.org>
dateSat 10 Dec 2022, 01:40 (4 years ago)
parentd14de27
languages.toml+1−1
@@ -1083,7 +1083,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev
10831083name = "diff"
10841084scope = "source.diff"
10851085roots = []
1086−file-types = ["diff"]
1086+file-types = ["diff", "patch"]
10871087injection-regex = "diff"
10881088comment-token = "#"
10891089indent = { tab-width = 2, unit = " " }