alvarosevilla95 / luatab.nvim

Tabline lua plugin for neovim
MIT License
186 stars 20 forks source link

Allow specifying a separator #10

Closed jandamm closed 2 years ago

jandamm commented 2 years ago

It's now possible to overwrite the | separator with any string. If no separator should be shown use this code:

vim.o.tabline = [[%!v:lua.require'luatab'.tabline('')]]

Closes https://github.com/alvarosevilla95/luatab.nvim/issues/8

alvarosevilla95 commented 2 years ago

Hey, thanks for the PR. I've actually implemented overrides for all the functions used, so I'm afraid this becomes redundant now. Thanks for taking the time to raise the PR, and hope you don't mind

jandamm commented 2 years ago

I actually rewrote my PR doing the exact same thing. Just hadn't the time to polish things up for this PR. https://github.com/jandamm/luatab.nvim/commit/5dda7e417830bd4ec70a439bd7d7cfa9a779b12a