Skip to content

Customizing tabline in mini.tabline plugin #1510

Closed Answered by echasnovski
krovuxdev asked this question in Q&A
Discussion options

You must be logged in to vote

Tabpage is not the same as buffer (see :h windows-intro). In config.format you cycle through tabpages, not buffers. To return empty string for non-current buffers it should start with something like if buf_id ~= vim.api.nvim_get_current_buf() then return '' end.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@krovuxdev
Comment options

@echasnovski
Comment options

Answer selected by krovuxdev
@krovuxdev
Comment options

@echasnovski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.tabline
2 participants