diff --git a/lua/dracula/highlights/dracula-soft.lua b/lua/dracula/highlights/dracula-soft.lua index 932b164..ccf205f 100644 --- a/lua/dracula/highlights/dracula-soft.lua +++ b/lua/dracula/highlights/dracula-soft.lua @@ -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 }) diff --git a/lua/dracula/highlights/init.lua b/lua/dracula/highlights/init.lua index 932b164..ccf205f 100644 --- a/lua/dracula/highlights/init.lua +++ b/lua/dracula/highlights/init.lua @@ -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 })