Treat patches as diff files (#5085)

pull/4417/head
Danilo Spinella 2 years ago committed by GitHub
parent d14de27709
commit f323ffabcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1083,7 +1083,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev
name = "diff"
scope = "source.diff"
roots = []
file-types = ["diff"]
file-types = ["diff", "patch"]
injection-regex = "diff"
comment-token = "#"
indent = { tab-width = 2, unit = " " }

Loading…
Cancel
Save