From 370bc6edb56c229e900960a195d26d56142ee39e Mon Sep 17 00:00:00 2001 From: Job Jobse Date: Fri, 18 Sep 2026 20:36:23 +0200 Subject: [PATCH] fix: syntax highlighting for diffs --- plugin/40_plugins.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugin/40_plugins.lua b/plugin/40_plugins.lua index 9084673..b075471 100644 --- a/plugin/40_plugins.lua +++ b/plugin/40_plugins.lua @@ -4,10 +4,7 @@ Config.now(function() require('rose-pine').setup({ enable = { terminal = false, legacy_highlights = false, migrations = false, }, styles = { italic = false }, - highlight_groups = { - MiniDiffOverAdd = { fg = 'NONE', bg = 'foam', blend = 20 }, - MiniDiffOverChangeBuf = { bg = 'rose', blend = 20 }, - }, + groups = { git_change = 'gold', git_text = 'gold' }, }) vim.cmd.colorscheme('rose-pine') @@ -22,7 +19,7 @@ Config.now_if_args(function() local filetypes = { 'html', 'css', 'lua', 'go', 'php', 'blade', 'sql', 'javascript', 'typescript', 'typescriptreact', 'svelte', 'dockerfile', 'yaml', 'markdown', 'dart', - 'json', 'xml', 'toml', 'sh', 'zsh', 'just', 'gitcommit', 'diff', 'regex', 'http' + 'json', 'xml', 'toml', 'sh', 'zsh', 'just', 'gitcommit', 'diff', 'regex', 'http', 'kotlin' } Config.autocmd('FileType', filetypes, function(ev)