This commit is contained in:
sankalp committed 2024-08-14 14:40:31 +05:45
1 parent 3709c38c6d
commit d93e388067
17 files changed
+261 -223

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
return {
'akinsho/bufferline.nvim',
event = { 'BufReadPost', 'BufAdd', 'BufNewFile' },
version = '*',
dependencies = 'nvim-tree/nvim-web-devicons',
opts = {
options = {
debug = { logging = true },
mode = 'buffers',
indicator = { icon = '▍', style = 'none' },
sort_by = 'insert_after_current',
move_wraps_at_ends = true,
right_mouse_command = 'vert sbuffer %d',
show_close_icon = false,
show_buffer_close_icons = false,
diagnostics = 'nvim_lsp',
diagnostics_indicator = function(count, level)
local icon = level:match('error') and '' or ''
return ' ' .. icon .. count
end,
diagnostics_update_in_insert = false,
hover = { enabled = true, reveal = { 'close' } },
offsets = {
{
filetype = 'neo-tree',
text = ' File Explorer',
highlight = 'Directory',
separator = false,
},
},
},
},
}