Skip to content

Commit

Permalink
chore(indent-blankline): simplify inline expression
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Oct 14, 2023
1 parent 80ac693 commit f03cbfb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lua/catppuccin/groups/integrations/indent_blankline.lua
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
local M = {}

function M.get()
local scope_color = O.integrations.indent_blankline.scope_color

local hi = {
IblIndent = { fg = C.surface0 },
IblScope = { fg = C[scope_color] or C.text },
}

local scope_color = O.integrations.indent_blankline.scope_color
if C[scope_color] then
hi["IblScope"] = { fg = C[scope_color] }
else
hi["IblScope"] = { fg = C.text }
end

if O.integrations.indent_blankline.colored_indent_levels then
hi["RainbowRed"] = { blend = 0, fg = C.red }
hi["RainbowYellow"] = { blend = 0, fg = C.yellow }
Expand Down

0 comments on commit f03cbfb

Please sign in to comment.