From e7bcc9dad12bccddc03de4c78b738e109298e445 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Fri, 9 Dec 2022 12:18:52 +0100 Subject: [PATCH] Treat patches as diff files --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 325a39dfc4c6..a08fa78a608e 100644 --- a/languages.toml +++ b/languages.toml @@ -1055,7 +1055,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 = " " }