From c717f28b96814889e3f3a1d10aa55dc73073777a Mon Sep 17 00:00:00 2001 From: max miliano Date: Sun, 25 Feb 2024 16:21:24 -0300 Subject: [PATCH] fix: on_colors --- lua/dracula/highlights/dracula-soft.lua | 2 +- lua/dracula/highlights/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 })