diff --git a/after/plugin/bufferline.lua b/after/plugin/bufferline.lua new file mode 100644 index 0000000..fa0c0d2 --- /dev/null +++ b/after/plugin/bufferline.lua @@ -0,0 +1,17 @@ +vim.opt.termguicolors = true +require('bufferline').setup{ + options = { + diagnostics = "nvim_lsp", + themable = false, + offsets = { + { + filetype = "neo-tree", + text = "File Tree", + separator = true + } + }, + separator_style = "slant", + show_buffer_close_icons = false, + show_close_icon = false, + } +} diff --git a/lua/plugins.lua b/lua/plugins.lua index 3b1a4d2..14297ae 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -4,6 +4,14 @@ return require('packer').startup(function(use) use 'Mofiqul/dracula.nvim' use { 'nvim-telescope/telescope.nvim', tag = '0.1.5', requires = { {'nvim-lua/plenary.nvim'} } } + use { + 'akinsho/bufferline.nvim', + as = "bufferline.nvim", + version = '4.5.0', + requires = { + {'nvim-tree/nvim-web-devicons'} + } + } use { 'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' } }