Skip to content

Commit

Permalink
Treat patches as diff files (#5085)
Browse files Browse the repository at this point in the history
  • Loading branch information
danyspin97 authored Dec 10, 2022
1 parent d14de27 commit f323ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = " " }
Expand Down

0 comments on commit f323ffa

Please sign in to comment.