Skip to content

Commit

Permalink
fix(color): blend should always be 0 for hl groups to work
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 27, 2024
1 parent 1ac7005 commit ce79b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/smear_cursor/color.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ local function set_hl_groups()
local blended_hl_group_inverted = M.hl_group_inverted .. i
M.hl_groups[i] = blended_hl_group
M.hl_groups_inverted[i] = blended_hl_group_inverted
vim.api.nvim_set_hl(0, blended_hl_group, { fg = blended_cursor_color, bg = normal_bg, blend = 100 })
vim.api.nvim_set_hl(0, blended_hl_group, { fg = blended_cursor_color, bg = normal_bg, blend = 0 })
vim.api.nvim_set_hl(0, blended_hl_group_inverted, { fg = normal_bg, bg = blended_cursor_color, blend = 0 })
end
end
Expand Down

0 comments on commit ce79b81

Please sign in to comment.