diff options
author | Danilo Spinella | 2022-12-10 00:40:27 +0000 |
---|---|---|
committer | GitHub | 2022-12-10 00:40:27 +0000 |
commit | f323ffabcc5846f647e3ba1d3d2ff5dec95257bd (patch) | |
tree | 6d63d761b90ad09bfd6c240263102c2defe908d1 | |
parent | d14de277092d7eab555ea2abc1435101d12e308c (diff) |
Treat patches as diff files (#5085)
-rw-r--r-- | languages.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index 96d92ce8..06af52bd 100644 --- a/languages.toml +++ b/languages.toml @@ -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 = " " } |