From 4677da16cc2cc2e4921269485d8b0abe55ea03fe Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Thu, 7 May 2026 17:07:39 +0200 Subject: [PATCH] fix(git): set ft=git for :G diff output --- lua/git/cmd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/git/cmd.lua b/lua/git/cmd.lua index cfb1ed4..a2c1da5 100644 --- a/lua/git/cmd.lua +++ b/lua/git/cmd.lua @@ -12,7 +12,7 @@ local M = {} ---@type table local SPLIT_HANDLERS = { log = { ft = "git" }, - diff = { ft = "diff" }, + diff = { ft = "git" }, } ---@type string[]?