diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 08cda45..b185a12 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -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" }, diff --git a/.config/nvim/lua/plugins/barbar.lua b/.config/nvim/lua/plugins/barbar.lua new file mode 100644 index 0000000..2cc89d6 --- /dev/null +++ b/.config/nvim/lua/plugins/barbar.lua @@ -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. + }, +} diff --git a/.config/nvim/lua/sets.lua b/.config/nvim/lua/sets.lua index d5d96f8..f467a90 100644 --- a/.config/nvim/lua/sets.lua +++ b/.config/nvim/lua/sets.lua @@ -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 = ' ' })