nvim: added barbar to take care of buffer management

This commit is contained in:
kalmenn 2023-12-18 00:56:26 +01:00
parent a675ffa81e
commit 43ad5e892b
Signed by: kalmenn
GPG key ID: DFF253360BF8471F
3 changed files with 14 additions and 3 deletions

View file

@ -0,0 +1,13 @@
return { 'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function() vim.g.barbar_auto_setup = false end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
-- animation = true,
-- insert_at_start = true,
-- …etc.
},
}

View file

@ -28,9 +28,6 @@ vim.opt.updatetime = 50
vim.opt.hlsearch = false
vim.opt.incsearch = true
-- auto-close unused buffers if all changes have been saved
vim.opt.hidden = false
-- stuff
vim.opt.fillchars:append({ eob = ' ' })