add bufferline
This commit is contained in:
parent
35c1093d4e
commit
2541f2b1d7
|
@ -31,6 +31,7 @@ require('lazy').setup({
|
||||||
require 'plugins/nvim-dap',
|
require 'plugins/nvim-dap',
|
||||||
require 'plugins/dashboard-nvim',
|
require 'plugins/dashboard-nvim',
|
||||||
require 'plugins/toggleterm',
|
require 'plugins/toggleterm',
|
||||||
|
require 'plugins/bufferline',
|
||||||
}, {
|
}, {
|
||||||
ui = {
|
ui = {
|
||||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||||
|
|
21
lua/plugins/bufferline.lua
Normal file
21
lua/plugins/bufferline.lua
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'akinsho/bufferline.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
always_show_bufferline = true,
|
||||||
|
offsets = {
|
||||||
|
{
|
||||||
|
filetype = 'neo-tree',
|
||||||
|
text = 'Neo-tree',
|
||||||
|
highlight = 'Directory',
|
||||||
|
text_align = 'left',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue