Skip to content

Commit

Permalink
fix: on_colors
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmx03 committed Feb 25, 2024
1 parent a5c2195 commit c717f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/dracula/highlights/dracula-soft.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ end
M.set_highlight = function(colors, config)
if config.on_colors then
local color = require 'dracula.color'
colors = vim.tbl_extend('force', colors, config.on_colors(colors))
colors = vim.tbl_extend('force', colors, config.on_colors(colors, color))
end
-- EDITOR :h highlight-groups
nvim_set_hl('ColorColumn', { bg = colors.base04 })
Expand Down
2 changes: 1 addition & 1 deletion lua/dracula/highlights/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ end
M.set_highlight = function(colors, config)
if config.on_colors then
local color = require 'dracula.color'
colors = vim.tbl_extend('force', colors, config.on_colors(colors))
colors = vim.tbl_extend('force', colors, config.on_colors(colors, color))
end
-- EDITOR :h highlight-groups
nvim_set_hl('ColorColumn', { bg = colors.base04 })
Expand Down

0 comments on commit c717f28

Please sign in to comment.