mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 19:30:01 +02:00
update nvim config
This commit is contained in:
parent
e3f9d23175
commit
1e68462bc1
21 changed files with 350 additions and 99 deletions
29
nvim/lua/plugins/barbar.lua
Normal file
29
nvim/lua/plugins/barbar.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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 = '' },
|
||||
modified = {button = icons.filetree.git.modified },
|
||||
pinned = {button = '', filename = true},
|
||||
},
|
||||
maximum_padding = 2,
|
||||
minimum_padding = 1,
|
||||
sidebar_filetypes = {
|
||||
['neo-tree'] = {event = 'BufWipeout'},
|
||||
}
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue