Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black character at the end of lualine integration #115

Open
ibrokemypie opened this issue May 29, 2023 · 4 comments
Open

black character at the end of lualine integration #115

ibrokemypie opened this issue May 29, 2023 · 4 comments

Comments

@ibrokemypie
Copy link

When lualine integration is used such as

winbar = {
    lualine_b = {
        "navic",
        color_correction = 'static'
    }
}

It mostly works, except for one black character before the final separator, which I am not sure the cause of or how to remove.
image
image

@SmiteshP
Copy link
Owner

I remember a similar issue was raised sometime ago. I believe this is due to padding character not being highlighted properly by lualine. Can you try setting the right padding value to 0

@ibrokemypie
Copy link
Author

ah that solved that problem, but now the spacing is all a bit weird (as would be expected by removing padding)
image

Is there a way to fix the black character while still having normal padding?

@SmiteshP
Copy link
Owner

You could adjust the padding values of adjacent components to remedy this.

@schoblaska
Copy link

schoblaska commented Dec 10, 2023

I ran into this as well, only when navic's highlight option was set to true.

Highlight true:
Screenshot 2023-12-09 at 6 32 20 PM

Highlight false:
Screenshot 2023-12-09 at 6 32 55 PM

I realized it was only happening on some colorschemes, so I did some digging and found out that the blank character is highlighted by your colorscheme's StatusLine rule. Make sure it's not set in your colorscheme, or that it's set to the same color as your lualine background.

schoblaska added a commit to schoblaska/iceberg.vim that referenced this issue Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants