mirror of
https://github.com/isabelroses/nvim.git
synced 2025-04-09 13:29:34 +00:00
feat: readd bufferline
This commit is contained in:
parent
70a30ac354
commit
cf386df874
4 changed files with 66 additions and 0 deletions
20
_sources/generated.json
generated
20
_sources/generated.json
generated
|
@ -19,6 +19,26 @@
|
|||
},
|
||||
"version": "de72250e054e5e691b9736ee30db72c65d560771"
|
||||
},
|
||||
"bufferline": {
|
||||
"cargoLocks": null,
|
||||
"date": "2025-01-14",
|
||||
"extract": null,
|
||||
"name": "bufferline",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "akinsho",
|
||||
"repo": "bufferline.nvim",
|
||||
"rev": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3",
|
||||
"sha256": "sha256-ae4MB6+6v3awvfSUWlau9ASJ147ZpwuX1fvJdfMwo1Q=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3"
|
||||
},
|
||||
"catppuccin": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-12-27",
|
||||
|
|
12
_sources/generated.nix
generated
12
_sources/generated.nix
generated
|
@ -13,6 +13,18 @@
|
|||
};
|
||||
date = "2024-11-14";
|
||||
};
|
||||
bufferline = {
|
||||
pname = "bufferline";
|
||||
version = "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "akinsho";
|
||||
repo = "bufferline.nvim";
|
||||
rev = "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-ae4MB6+6v3awvfSUWlau9ASJ147ZpwuX1fvJdfMwo1Q=";
|
||||
};
|
||||
date = "2025-01-14";
|
||||
};
|
||||
catppuccin = {
|
||||
pname = "catppuccin";
|
||||
version = "f67b886d65a029f12ffa298701fb8f1efd89295d";
|
||||
|
|
30
config/lua/izvim/plugins/bufferline.lua
Normal file
30
config/lua/izvim/plugins/bufferline.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
return {
|
||||
{
|
||||
"bufferline.nvim",
|
||||
event = "DeferredUIEnter",
|
||||
after = function()
|
||||
local bufferline = require("bufferline")
|
||||
local ctp = require("catppuccin.groups.integrations.bufferline").get()
|
||||
|
||||
bufferline.setup({
|
||||
highlights = ctp,
|
||||
options = {
|
||||
show_close_icon = false,
|
||||
show_buffer_close_icons = false,
|
||||
offsets = {
|
||||
{
|
||||
filetype = "NvimTree",
|
||||
text = "File Browser",
|
||||
text_align = "left",
|
||||
separator = vim.g.bc.vert,
|
||||
},
|
||||
},
|
||||
left_mouse_command = "buffer %d",
|
||||
middle_mouse_command = "bdelete! %d",
|
||||
right_mouse_command = nil,
|
||||
numbers = "ordinal",
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -2,6 +2,10 @@
|
|||
fetch.github = "goolord/alpha-nvim"
|
||||
src.git = "https://github.com/goolord/alpha-nvim"
|
||||
|
||||
[bufferline]
|
||||
fetch.github = "akinsho/bufferline.nvim"
|
||||
src.git = "https://github.com/akinsho/bufferline.nvim"
|
||||
|
||||
[catppuccin]
|
||||
fetch.github = "catppuccin/nvim"
|
||||
src.git = "https://github.com/catppuccin/nvim"
|
||||
|
|
Loading…
Add table
Reference in a new issue