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

Remove border? #16

Open
tmpm697 opened this issue May 22, 2023 · 5 comments
Open

Remove border? #16

tmpm697 opened this issue May 22, 2023 · 5 comments

Comments

@tmpm697
Copy link

tmpm697 commented May 22, 2023

thanks for this plugin, perfect to replace NrrwRgn, but i have problem with border of it.

the color of border will be reverted to Normal (probably), i just want a line (maybe hardcode white or links to Normal, or a new highlight to customize its color?)

so how to disable the border or set it to a line OR how to change current border's color? (i.e: border like floating windows in https://github.com/cshuaimin/ssr.nvim)

@hoschi
Copy link
Owner

hoschi commented May 22, 2023

Please try to set the highlight 'FloatBorder:Tabline' to what you want, e.g. white and see if it solves our problem. This is used to create the border:
https://github.com/hoschi/yode-nvim/blob/develop/lua/yode-nvim/layout/layoutMosaic.lua#L329

@tmpm697
Copy link
Author

tmpm697 commented May 22, 2023

what is 'FloatBorder:Tabline'? i can only set and have FloatBorder highlight in my colorscheme. and I don't use Tabline.

I tried to change Float* highlight elements in colorscheme, but nothing change as seem this hardcoded to 'FloatBorder:Tabline'

@hoschi
Copy link
Owner

hoschi commented May 22, 2023

It is the color of your tabline (see :h tabline) in NeoVim. Is this color scheme dependent?

@tmpm697
Copy link
Author

tmpm697 commented May 23, 2023

i'm using https://github.com/Abstract-IDE/Abstract-cs, settings smth like hi FloatBorder:Tabline ctermfg=11 guifg=#444444 guibg=#060606 gives me errror as invalid FloatBorder:Tabline.

@hoschi
Copy link
Owner

hoschi commented May 23, 2023

Ok, thanks for debugging. I'm going to look into it. In the meantime you could change the highlight group in the mentioned code line above.

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

2 participants