new tab plugin
parent
810c87381a
commit
2e74a93297
1
init.lua
1
init.lua
|
@ -526,3 +526,4 @@ require('custom.options')
|
|||
require('custom.keymaps')
|
||||
require('custom.harpoon')
|
||||
require('custom.mason')
|
||||
require('custom.bufferline')
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
vim.opt.termguicolors = true
|
||||
local bufferline = require('bufferline')
|
||||
bufferline.setup({
|
||||
options = {
|
||||
mode = "buffers", -- set to "tabs" to only show tabpages instead
|
||||
style_preset = bufferline.style_preset.minimal, -- or bufferline.style_preset.minimal,
|
||||
|
||||
separator_style = { "", "" }, --"thin", --| "slope" | "thick" | "thin" | { 'any', 'any' },
|
||||
indicator = {
|
||||
icon = '', -- this should be omitted if indicator style is not 'icon'
|
||||
style = 'none',
|
||||
},
|
||||
}
|
||||
})
|
|
@ -85,18 +85,8 @@ return {
|
|||
},
|
||||
|
||||
{
|
||||
'romgrk/barbar.nvim',
|
||||
dependencies = {
|
||||
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
||||
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
||||
},
|
||||
init = function() vim.g.barbar_auto_setup = false end,
|
||||
opts = {
|
||||
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
|
||||
-- animation = true,
|
||||
-- insert_at_start = true,
|
||||
-- …etc.
|
||||
},
|
||||
version = '^1.0.0', -- optional: only update when a new 1.x version is released
|
||||
'akinsho/bufferline.nvim',
|
||||
version = "*",
|
||||
dependencies = 'nvim-tree/nvim-web-devicons'
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue