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

@ -1,4 +1,5 @@
{
"barbar.nvim": { "branch": "master", "commit": "a8fe0abe538f15997a543e0f653993ef3727455f" },
"fd": { "branch": "master", "commit": "00b64f3ccbfb832ef744bb42bbdfabaf929b5ee2" },
"feline.nvim": { "branch": "main", "commit": "a6bebd903e84d5ce0e97c597e0ca85cd24109002" },
"gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" },

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 = ' ' })