Closed karma-riuk closed 1 year ago
I'm so sorry, I'm blind... I thought I read the previous issues before posting, but right after posting I saw #115 is stating exactly the same issue.
The fix is the same as in that issue: removing the right padding to remove the invisible character:
lualine_c = {
{
"navic",
color_correction = "static",
navic_opts = { highlight = true },
padding = {
left = 1,
right = 0,
},
},
},
Note the left = 1
. For some reason if I only put padding = { right = 0 }
, then both left
and right
would be set to zero. This was the left padding is as it was before.
After wanting to add highlighting to
navic
onlualine
and following theREADME.md
, a small glitch can be seen (c.f. image below)As you can see, the last character of the
navic
component has transparent background.My config for
lualine
andnavic
is the following(I don't think the rest is relevant, but I can show it if you feel like you need it)
I tried with a variety of files, languages and lsp servers, as well as setting
highlight = true
when I setupnavic
as opposed to usingnavic_opts
, they all give me the same little glitch.I don't know whether it is a
navic
problem or alualine
problem, but I have other components (such as the number of lsp warnings / errors present in the file) and they do not have that issue.