setup bufferline

This commit is contained in:
Adithya 2024-02-10 23:59:40 +05:30
parent facc675de3
commit 7f9bd8a242
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 25 additions and 0 deletions

View file

@ -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,
}
}

View file

@ -4,6 +4,14 @@ return require('packer').startup(function(use)
use 'Mofiqul/dracula.nvim' use 'Mofiqul/dracula.nvim'
use { 'nvim-telescope/telescope.nvim', tag = '0.1.5', requires = { {'nvim-lua/plenary.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' } } use { 'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' } }