-
Notifications
You must be signed in to change notification settings - Fork 55
[Feature] Tabline support #169
Comments
@FrenzyExists yes, I'd like to customize what I can see on that screenshot, the tabline. feline currently offers a nice api to customize the statusline, it'd be great to be able to use the same api to customize the tabline too |
I've been checking the code in feline (note, I don't exactly know lua that much), and decided to also check akinsho's bufferline code. I think that lilke, maybe 1/4th of the utils from bufferline code from there could just be yoinked into feline, which is pretty much the clickable functions, the functions that comunicate with neovim's buffer and tabs, and the close button. i think i gonna prolly play with the api, kinda like the idea of having both bufferline and tabline in a single plugin |
I'm not sure how to handle the tabline click events, so I'd have to look into it. A PR would also be very welcome. |
Tabline click events require using a vim function. This is how bufferline.nvim handles it: https://github.com/akinsho/bufferline.nvim/blob/master/autoload/nvim_bufferline.vim |
It seems adding tabline support is much more complicated than it sounds and would require too much change to the original codebase and documentation to be worth the hassle. Besides, there's already quite a few good tabline plugins, so I'd just recommend using those. I'd like Feline to stick with the Unix philosophy of doing one thing and doing it well. |
What a pitty. Feline is by far the best statusline plugin out there, the APi is just on point. The tabline plugins I know are: |
Is your feature request related to a problem? Please describe.
It would be nice if it had support for tabline, to make the statusline and the tabline consistent.
Additional context
I found this discussion about the same topic for galaxyline: nvimdev/galaxyline.nvim#24
I fully agree with this comment: nvimdev/galaxyline.nvim#24 (comment)
And thanks for feline.nvim, it's a great plugin, my neovim looks a lot better thanks to it :)
The text was updated successfully, but these errors were encountered: