From 4ba1b63e13786c2252c6d14fc9930797c52f8833 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Mon, 7 Oct 2024 23:46:33 +0200 Subject: [PATCH] vim: don't overwrite syntax-highlighting on deleted lines in diff --- modules/base/vim.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/base/vim.nix b/modules/base/vim.nix index 2bc807e..7801953 100644 --- a/modules/base/vim.nix +++ b/modules/base/vim.nix @@ -211,6 +211,8 @@ -- Less pronounced indent lines IblIndent = { fg = theme.ui.bg_p2 }, IblScope = { fg = theme.ui.whitespace }, + -- Don't overwrite syntax-highlighting on deleted lines + DiffDelete = { fg = "none" }, } end, })