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:
Iron-E 2021-02-10 13:08:38 -05:00
parent daa245b13b
commit aa8e36bd4f
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22
1 changed files with 0 additions and 3 deletions

View File

@ -178,9 +178,6 @@ return setmetatable(highlite, {['__call'] = function(self, normal, highlights, t
-- save the colors_name before syntax reset
local color_name = vim.g.colors_name
-- Clear the highlighting.
exe 'hi clear'
-- If the syntax has been enabled, reset it.
if fn.exists 'syntax_on' then exe 'syntax reset' end