Replies: 1 comment 1 reply
-
require('dropbar').setup({
bar = {
sources = function(buf, _)
local sources = require('dropbar.sources')
if vim.bo[buf].ft == 'markdown' then
return { sources.markdown }
end
if vim.bo[buf].buftype == 'terminal' then
return { sources.terminal }
end
return {
utils.source.fallback({
sources.lsp,
sources.treesitter,
}),
}
end,
},
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ruestefa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In most windows, the file path and name either take up most of the space or cause almost all elements to be collapsed into ellipses. I also already have the file name in the tab bar and the full path in the status bar, so there's really no benefit from Dropbar showing it, too. How can I hide the file name and path?
I've tried this, but it doesn't work:
Beta Was this translation helpful? Give feedback.
All reactions