From 4705b2a6798540c2da9a104892d07f94c7a857d3 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 15 Aug 2024 15:47:55 +0800 Subject: [PATCH] fix: default highlights --- README.md | 4 ++-- lua/avante/init.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 74a3957..4e901d9 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,8 @@ https://github.com/user-attachments/assets/510e6270-b6cf-459d-9a2f-15b397d1fe53 }, highlights = { diff = { - incoming = "DiffAdded", -- need have background color - current = "DiffRemoved", -- need have background color + current = "DiffText", -- need have background color + incoming = "DiffAdd", -- need have background color }, }, mappings = { diff --git a/lua/avante/init.lua b/lua/avante/init.lua index 841d0d7..02d9985 100644 --- a/lua/avante/init.lua +++ b/lua/avante/init.lua @@ -761,8 +761,8 @@ M.config = { }, highlights = { diff = { - incoming = "DiffAdded", -- need have background color - current = "DiffRemoved", -- need have background color + current = "DiffText", -- need have background color + incoming = "DiffAdd", -- need have background color }, }, mappings = {