diff --git a/colors/highlite.lua b/colors/highlite.lua index 1d0a03a..102c91b 100644 --- a/colors/highlite.lua +++ b/colors/highlite.lua @@ -932,7 +932,7 @@ local highlight_groups = { this will inevitably cause usability issues so… be careful. ]] -local terminal_ansi_colors = { +local terminal_colors = { [1] = black, [2] = red_dark, [3] = green_dark, @@ -1014,7 +1014,7 @@ local terminal_ansi_colors = { require(vim.g.colors_name)( highlight_group_normal, highlight_groups, - terminal_ansi_colors + terminal_colors ) -- Thanks to Romain Lafourcade (https://github.com/romainl) for the original template (romainl/vim-rnb). diff --git a/lua/highlite.lua b/lua/highlite.lua index 2c0ede0..4d0f007 100644 --- a/lua/highlite.lua +++ b/lua/highlite.lua @@ -165,7 +165,7 @@ function highlite:highlight_terminal(terminal_colors) end end -return setmetatable(highlite, {['__call'] = function(self, normal, highlights, terminal_ansi_colors) +return setmetatable(highlite, {['__call'] = function(self, normal, highlights, terminal_colors) -- function to resolve function highlight groups being defined by function calls. local function resolve(tbl, key, resolve_links) local value = tbl[key] @@ -204,5 +204,5 @@ return setmetatable(highlite, {['__call'] = function(self, normal, highlights, t end -- Set the terminal highlight colors. - self:highlight_terminal(terminal_ansi_colors) + self:highlight_terminal(terminal_colors) end})