Skip to content

Commit a0dbc79

Browse files
committed
move barbar to top of plugins
1 parent ded6bd7 commit a0dbc79

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

init.lua

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,22 @@ vim.opt.rtp:prepend(lazypath)
228228
--
229229
-- NOTE: Here is where you install your plugins.
230230
require('lazy').setup({
231+
-- For view of open buffers
232+
{
233+
'romgrk/barbar.nvim',
234+
dependencies = {
235+
'lewis6991/gitsigns.nvim',
236+
'nvim-tree/nvim-web-devicons',
237+
},
238+
init = function()
239+
vim.g.barbar_auto_setup = false
240+
end,
241+
opts = {
242+
animation = false,
243+
},
244+
version = '^1.0.0',
245+
},
246+
231247
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
232248
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
233249

@@ -320,22 +336,6 @@ require('lazy').setup({
320336

321337
-- Useful for getting pretty icons, but requires a Nerd Font.
322338
{ 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font },
323-
324-
-- For view of open buffers
325-
{
326-
'romgrk/barbar.nvim',
327-
dependencies = {
328-
'lewis6991/gitsigns.nvim',
329-
'nvim-tree/nvim-web-devicons',
330-
},
331-
init = function()
332-
vim.g.barbar_auto_setup = false
333-
end,
334-
opts = {
335-
animation = false,
336-
},
337-
version = '^1.0.0',
338-
},
339339
},
340340
config = function()
341341
-- Telescope is a fuzzy finder that comes with a lot of different things that

0 commit comments

Comments
 (0)