From a960e94bbe8a1bbaeb1a5642bcf9c9542fd76dcd Mon Sep 17 00:00:00 2001 From: mrtnvgr Date: Tue, 7 Mar 2023 15:00:45 +0700 Subject: [PATCH] feat: fix `Cursor` highlight group --- lua/rose-pine/theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 45f937d..c629fd6 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -20,7 +20,7 @@ function M._load(options) h('ColorColumn', { bg = p.overlay }) h('Conceal', { bg = p.none }) h('CurSearch', { link = 'IncSearch' }) - h('Cursor', { fg = p.text, bg = p.highlight_high }) + h('Cursor', { fg = p.highlight_high, bg = p.text }) h('CursorColumn', { bg = p.highlight_low }) -- CursorIM = {}, h('CursorLine', { bg = p.highlight_low })