fix(highlite): highlight groups being cleared
This was a step I took from the plugin this colorscheme is forked from (romainl/vim-rnb) but it turns out that it causes problems and doesn't actually solve anything. Taking out this line fixed a highlight group being cleared when it should not have been, although interestingly not _all_ highlight groups are being cleared consistently. So its just introducing inconsistency into this plugin which I do not want. SEE glepnir/galaxyline.nvim#88
This commit is contained in:
parent
daa245b13b
commit
aa8e36bd4f
|
@ -178,9 +178,6 @@ return setmetatable(highlite, {['__call'] = function(self, normal, highlights, t
|
||||||
-- save the colors_name before syntax reset
|
-- save the colors_name before syntax reset
|
||||||
local color_name = vim.g.colors_name
|
local color_name = vim.g.colors_name
|
||||||
|
|
||||||
-- Clear the highlighting.
|
|
||||||
exe 'hi clear'
|
|
||||||
|
|
||||||
-- If the syntax has been enabled, reset it.
|
-- If the syntax has been enabled, reset it.
|
||||||
if fn.exists 'syntax_on' then exe 'syntax reset' end
|
if fn.exists 'syntax_on' then exe 'syntax reset' end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue