From 4136808d0f81f8bc68a35f63f4811aa696dffe95 Mon Sep 17 00:00:00 2001 From: Ramojus Lapinskas Date: Mon, 24 Jun 2024 12:35:47 +0300 Subject: [PATCH] style(highlights): highlight neutral IndentLine as active --- lua/mellifluous/highlights/custom_groups.lua | 3 --- lua/mellifluous/highlights/plugins/indent_blankline.lua | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/mellifluous/highlights/custom_groups.lua b/lua/mellifluous/highlights/custom_groups.lua index c5f351c..ce6a974 100644 --- a/lua/mellifluous/highlights/custom_groups.lua +++ b/lua/mellifluous/highlights/custom_groups.lua @@ -11,9 +11,6 @@ function M.get(colors) MainKeyword = { fg = colors.main_keywords, style = config.styles.keywords }, IndentLine = function(bg) - return { fg = shader.replicate_shade(colors.bg, colors.fg4, bg) } - end, - IndentLineActive = function(bg) return { fg = shader.replicate_shade(colors.bg, colors.fg5, bg) } end, IndentLineInactive = function(bg) diff --git a/lua/mellifluous/highlights/plugins/indent_blankline.lua b/lua/mellifluous/highlights/plugins/indent_blankline.lua index a697b9e..ef887cc 100644 --- a/lua/mellifluous/highlights/plugins/indent_blankline.lua +++ b/lua/mellifluous/highlights/plugins/indent_blankline.lua @@ -4,7 +4,7 @@ function M.set(hl, colors) local groups = require('mellifluous.highlights.custom_groups').get(colors) hl.set('IblIndent', groups.IndentLineInactive(colors.bg)) - hl.set('IblScope', groups.IndentLineActive(colors.bg)) + hl.set('IblScope', groups.IndentLine(colors.bg)) hl.set('IblWhitespace', { link = 'Whitespace' }) end