1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-17 03:30:01 +02:00

touching the nvim.

This commit is contained in:
Henrik Hautakoski 2024-04-13 14:40:38 +02:00
parent 15e6408670
commit 71717129e1
40 changed files with 1045 additions and 921 deletions

View file

@ -1,34 +1,34 @@
local icons = require('config.icons')
return {
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim',
'nvim-tree/nvim-web-devicons',
},
init = function() vim.g.barbar_auto_setup = false end,
opts = {
animation = false,
auto_hide = 0,
focus_on_close = 'previous',
button = icons.close,
highlight_inactive_file_icons = true,
icons = {
separator = {left = '', right = ''},
separator_at_end = false,
inactive = { button = '', separator = { left = '', right = ''} },
modified = {button = icons.gitsigns.modified },
pinned = {button = icons.pinned, filename = true},
gitsigns = {
added = { enabled = false },
changed = { enabled = false },
deleted = { enabled = false },
}
},
maximum_padding = 2,
minimum_padding = 1,
sidebar_filetypes = {
--['neo-tree'] = {event = 'BufWipeout'},
}
},
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim',
'nvim-tree/nvim-web-devicons',
},
init = function() vim.g.barbar_auto_setup = false end,
opts = {
animation = false,
auto_hide = 0,
focus_on_close = 'previous',
button = icons.close,
highlight_inactive_file_icons = true,
icons = {
separator = { left = '', right = '' },
separator_at_end = false,
inactive = { button = '', separator = { left = '', right = '' } },
modified = { button = icons.gitsigns.modified },
pinned = { button = icons.pinned, filename = true },
gitsigns = {
added = { enabled = false },
changed = { enabled = false },
deleted = { enabled = false },
}
},
maximum_padding = 2,
minimum_padding = 1,
sidebar_filetypes = {
--['neo-tree'] = {event = 'BufWipeout'},
}
},
}