From eca96f374a012831a5191e8a63d74d8bd8e109f2 Mon Sep 17 00:00:00 2001 From: Vollow Date: Tue, 6 Aug 2024 13:58:51 +0800 Subject: [PATCH 1/3] feat(terminal): highlight `TermCursor` and `TermCursorNC` --- lua/catppuccin/groups/editor.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/catppuccin/groups/editor.lua b/lua/catppuccin/groups/editor.lua index 6a12ef66..515d1205 100644 --- a/lua/catppuccin/groups/editor.lua +++ b/lua/catppuccin/groups/editor.lua @@ -62,6 +62,8 @@ function M.get() TabLine = { bg = C.mantle, fg = C.surface1 }, -- tab pages line, not active tab page label TabLineFill = {}, -- tab pages line, where there are no labels TabLineSel = { fg = C.green, bg = C.surface1 }, -- tab pages line, active tab page label + TermCursor = { fg = C.base, bg = C.red }, -- cursor in a focused terminal + TermCursorNC = { fg = C.red, bg = C.surface1 }, -- cursor in unfocused terminals Title = { fg = C.blue, style = { "bold" } }, -- titles for output from ":set all", ":autocmd" etc. Visual = { bg = C.surface1, style = { "bold" } }, -- Visual mode selection VisualNOS = { bg = C.surface1, style = { "bold" } }, -- Visual mode selection when vim is "Not Owning the Selection". From 6363189f8c3ae842d7e7f7bb6def46e37754e0fc Mon Sep 17 00:00:00 2001 From: Vollow Date: Tue, 6 Aug 2024 14:04:13 +0800 Subject: [PATCH 2/3] feat(terminal): highlight `TermCursor` and `TermCursorNC` --- lua/catppuccin/groups/editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/catppuccin/groups/editor.lua b/lua/catppuccin/groups/editor.lua index 515d1205..87566691 100644 --- a/lua/catppuccin/groups/editor.lua +++ b/lua/catppuccin/groups/editor.lua @@ -63,7 +63,7 @@ function M.get() TabLineFill = {}, -- tab pages line, where there are no labels TabLineSel = { fg = C.green, bg = C.surface1 }, -- tab pages line, active tab page label TermCursor = { fg = C.base, bg = C.red }, -- cursor in a focused terminal - TermCursorNC = { fg = C.red, bg = C.surface1 }, -- cursor in unfocused terminals + TermCursorNC = { fg = C.red, bg = C.overlay0 }, -- cursor in unfocused terminals Title = { fg = C.blue, style = { "bold" } }, -- titles for output from ":set all", ":autocmd" etc. Visual = { bg = C.surface1, style = { "bold" } }, -- Visual mode selection VisualNOS = { bg = C.surface1, style = { "bold" } }, -- Visual mode selection when vim is "Not Owning the Selection". From b8eec806990ff0b411bbd4cbbeb8fcbb8a17feb5 Mon Sep 17 00:00:00 2001 From: Vollow Date: Tue, 6 Aug 2024 14:05:57 +0800 Subject: [PATCH 3/3] feat(terminal): highlight `TermCursor` and `TermCursorNC` --- lua/catppuccin/groups/editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/catppuccin/groups/editor.lua b/lua/catppuccin/groups/editor.lua index 87566691..de744f15 100644 --- a/lua/catppuccin/groups/editor.lua +++ b/lua/catppuccin/groups/editor.lua @@ -63,7 +63,7 @@ function M.get() TabLineFill = {}, -- tab pages line, where there are no labels TabLineSel = { fg = C.green, bg = C.surface1 }, -- tab pages line, active tab page label TermCursor = { fg = C.base, bg = C.red }, -- cursor in a focused terminal - TermCursorNC = { fg = C.red, bg = C.overlay0 }, -- cursor in unfocused terminals + TermCursorNC = { fg = C.base, bg = C.overlay2 }, -- cursor in unfocused terminals Title = { fg = C.blue, style = { "bold" } }, -- titles for output from ":set all", ":autocmd" etc. Visual = { bg = C.surface1, style = { "bold" } }, -- Visual mode selection VisualNOS = { bg = C.surface1, style = { "bold" } }, -- Visual mode selection when vim is "Not Owning the Selection".