Use bufferline for the tabline instead of tabby

This commit is contained in:
Peter Cai 2022-08-07 13:51:01 -04:00
parent dd24be7b17
commit 6d817ca1bf
3 changed files with 24 additions and 13 deletions

1
nvim/.config/nvim/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
plugin/

View File

@ -24,9 +24,19 @@ return require('packer').startup(function(use)
-- Tabs
use {
"nanozuki/tabby.nvim",
config = function() require("tabby").setup({
tabline = require("tabby.presets").tab_with_top_win,
"akinsho/bufferline.nvim", tag = "v2.*", requires = "kyazdani42/nvim-web-devicons",
config = function() require("bufferline").setup({
options = {
offsets = {
{
filetype = "neo-tree",
text = "Files",
highlight = "Directory",
text_align = "left",
}
},
separator_style = "slant",
}
}) end,
}
end)

View File

@ -69,6 +69,12 @@ end
time([[try_loadstring definition]], false)
time([[Defining packer_plugins]], true)
_G.packer_plugins = {
["bufferline.nvim"] = {
config = { "\27LJ\2\nÄ\1\0\0\6\0\b\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\6\0005\3\4\0004\4\3\0005\5\3\0>\5\1\4=\4\5\3=\3\a\2B\0\2\1K\0\1\0\foptions\1\0\0\foffsets\1\0\1\20separator_style\nslant\1\0\4\14highlight\14Directory\rfiletype\rneo-tree\ttext\nFiles\15text_align\tleft\nsetup\15bufferline\frequire\0" },
loaded = true,
path = "/home/peter/.local/share/nvim/site/pack/packer/start/bufferline.nvim",
url = "https://github.com/akinsho/bufferline.nvim"
},
["gruvbox-material"] = {
loaded = true,
path = "/home/peter/.local/share/nvim/site/pack/packer/start/gruvbox-material",
@ -103,20 +109,14 @@ _G.packer_plugins = {
loaded = true,
path = "/home/peter/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
},
["tabby.nvim"] = {
config = { "\27LJ\2\n3\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\ntabby\frequire\0" },
loaded = true,
path = "/home/peter/.local/share/nvim/site/pack/packer/start/tabby.nvim",
url = "https://github.com/nanozuki/tabby.nvim"
}
}
time([[Defining packer_plugins]], false)
-- Config for: tabby.nvim
time([[Config for tabby.nvim]], true)
try_loadstring("\27LJ\2\n3\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\ntabby\frequire\0", "config", "tabby.nvim")
time([[Config for tabby.nvim]], false)
-- Config for: bufferline.nvim
time([[Config for bufferline.nvim]], true)
try_loadstring("\27LJ\2\nÄ\1\0\0\6\0\b\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\6\0005\3\4\0004\4\3\0005\5\3\0>\5\1\4=\4\5\3=\3\a\2B\0\2\1K\0\1\0\foptions\1\0\0\foffsets\1\0\1\20separator_style\nslant\1\0\4\14highlight\14Directory\rfiletype\rneo-tree\ttext\nFiles\15text_align\tleft\nsetup\15bufferline\frequire\0", "config", "bufferline.nvim")
time([[Config for bufferline.nvim]], false)
if should_profile then save_profiles() end
end)