aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_diff.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_diff.lua b/plugins/language_diff.lua
index 7e17d80..4376b26 100644
--- a/plugins/language_diff.lua
+++ b/plugins/language_diff.lua
@@ -10,7 +10,7 @@ style.syntax["diff_del"] = { common.color "#F36161" }
syntax.add {
name = "Diff",
files = { "%.diff$", "%.patch$", "%.rej$" },
- headers = "^diff ",
+ headers = "^diff %-",
patterns = {
-- Method the patch was generated with and source/target files
{ regex = "^diff .+", type = "function" },