Closed siduck closed 3 years ago
@siduck76 you can't actually change the tab height in (neo)vim since it's a terminal application all rows are the height of the text based on the font size. Neovim could implement using multiple rows for the tab bar but given the fixed row size constraint I'm not sure that would look right anyway.
Regarding the alternate styling it is in configuration example but it's not really discoverable it's separator_style = "slant"
I'll add a note about it in the the help docs
Keep in mind with the slant
style that how it will look will depend on your terminal emulator, some terminal emulators don't do a good job rendering special characters so the triangle characters might look weird. I personally use kitty
which is really great.
I use ST and the triangle characters arent visible after all, I do have nerd fonts installed . do I need any other fonts like powerline?
No that should be enough try
in your terminal promt and see what it draws. I don't know anything about ST I assume this means suckless term but I know that usually only the quite new terminal emulators like alacritty and kitty handle all the fancy characters correctly and of those 2 kitty is better at it.
is this that character?
I can't really tell from the screen shot @siduck76 the character is
you just need to paste it into your terminal and see if it shows a triangle. In my terminal it looks like
it shows a triangle but converts into an inverted triangle if I press space
@siduck76 this seems to be in the realm of terminal emulator behaviour I can't really do anything about how a specific terminal emulator handles certain characters. Maybe you can file a bug upstream so it can be fixed there, I've had to do that in the past with how kitty was handling some of the box characters this plugin uses.
Meanwhile I will clarify in the docs that the slant
style has only really been tested with kitty
and support will depend entirely on the specific terminal emulator someone uses.
ah I see , btw can you add rounded corners to the tabs?
@siduck76 I'm not sure how I would do that? do you know of an ASCII character like the one I posted that has round corners? it would need to be filled on one side for that to work. That's how all the custom styles work they need matching characters that are partially filled since neovim can only just draw existing characters
yep you can use the ones in powerline fonts , something like this https://github.com/beauwilliams/statusline.lua
Oh I didn't realise that's what you have in mind. I don't really like the look of those since it doesn't really match the aesthetic I'm going for. You can add that in your own config but using separator_style = {'<left-char>', '<right-char>'}
I'm going to close this out @siduck76 since I think you can achieve the look you'd like in a few different ways either via swapping terminal emulator, submitting an upstream issue if you want to stick with your own, or by adding in your on separators.
NOTE: not all separator chars will work, it will depend on how the character is filled. As I mentioned in the README though I'm pretty opinionated on what I will add to the plugin itself, the general idea is to mirror Doom Emacs/ GUI editors so won't add the type of styles that you wouldn't see in one of those.
separator_style = {'
', ' '}
is this right?
st is fine with chars , no problem with that. I think my bufferline config's messed up https://hatebin.com/wbtczwjwhs
Yeah your highlights should all be within the highlights table and I'm not sure where comment_fg
etc. is defined. Have a close read of the example in the README or the help docs that should show you what's wrong with the table. Can't debug anymore atm as I'm at work
Remember to disable the transparent
mode in your colorscheme setting.
If you have transparent
mode on, it will show up like this:
gruvbox.nvim with bufferline.nvim
how do I increase tab height? also changing tab styling to this : didnt find anything about tab styling in the example configs