Skip to content

Commit

Permalink
style(highlights): highlight neutral IndentLine as active
Browse files Browse the repository at this point in the history
  • Loading branch information
ramojus committed Jun 24, 2024
1 parent 4284fd3 commit 4136808
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions lua/mellifluous/highlights/custom_groups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lua/mellifluous/highlights/plugins/indent_blankline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4136808

Please sign in to comment.