Lazy.nvim plugin manager, LSP (rust-analyzer, clangd, ts_ls, zls), treesitter, telescope, bufferline, neo-tree, gitsigns, lazygit, alabaster theme, persistence sessions, nvim-cmp, lualine, which-key. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
518 B
Lua
20 lines
518 B
Lua
return {
|
|
"akinsho/bufferline.nvim",
|
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
lazy = false,
|
|
opts = {
|
|
options = {
|
|
diagnostics = "nvim_lsp",
|
|
offsets = {
|
|
{ filetype = "neo-tree", text = "Explorer", separator = true },
|
|
},
|
|
show_close_icon = false,
|
|
separator_style = "thin",
|
|
},
|
|
},
|
|
keys = {
|
|
{ "<leader>bp", "<cmd>BufferLineTogglePin<cr>", desc = "Pin buffer" },
|
|
{ "<leader>bo", "<cmd>BufferLineCloseOthers<cr>", desc = "Close other buffers" },
|
|
},
|
|
}
|