use bufferline for tabs
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
return {
|
||||||
|
'akinsho/bufferline.nvim',
|
||||||
|
version = '*',
|
||||||
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
mode = 'tabs',
|
||||||
|
separator_style = 'slant',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -56,24 +56,6 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tabline = {
|
|
||||||
lualine_a = {},
|
|
||||||
lualine_b = {},
|
|
||||||
lualine_c = {
|
|
||||||
{
|
|
||||||
'tabs',
|
|
||||||
mode = 2,
|
|
||||||
tabs_color = {
|
|
||||||
-- Same values as the general color option can be used here.
|
|
||||||
active = { bg = 'orange', fg = 'black' },
|
|
||||||
inactive = { bg = 'grey', fg = 'black' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
lualine_x = {},
|
|
||||||
lualine_y = {},
|
|
||||||
lualine_z = {},
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user