This commit is contained in:
Christian Nieves
2025-01-27 20:44:12 +00:00
parent d0b81f87cb
commit 5e739703d0
2 changed files with 357 additions and 331 deletions

View File

@ -2,10 +2,8 @@ return {
{ {
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
version = "*", version = "*",
dependencies = "nvim-tree/nvim-web-devicons", dependencies = { "nvim-tree/nvim-web-devicons" },
config = function() opts = {
vim.opt.termguicolors = true
require("bufferline").setup({
options = { options = {
hover = { hover = {
enabled = true, enabled = true,
@ -35,8 +33,39 @@ return {
truncate_name = false, truncate_name = false,
show_close_icon = false, show_close_icon = false,
show_buffer_close_icons = false, show_buffer_close_icons = false,
-- groups = {
-- options = {
-- toggle_hidden_on_enter = true, -- when you re-enter a hidden group this options re-opens that group so the buffer is visible
-- },
-- items = {
-- {
-- name = "Tests", -- Mandatory
-- highlight = { sp = "lightblue" }, -- Optional
-- priority = 2, -- determines where it will appear relative to other groups (Optional)
-- icon = " ", -- Optional
-- matcher = function(buf) -- Mandatory
-- return buf.path:match("%_test.cc$") or buf.path:match("%Test.java$")
-- end,
-- },
-- {
-- name = "Docs",
-- highlight = { sp = "lightgreen" },
-- auto_close = false, -- whether or not close this group if it doesn't contain the current buffer
-- matcher = function(buf)
-- return buf.path:match("%.md$") or buf.path:match("%.txt$")
-- end,
-- },
-- {
-- name = "Lua",
-- highlight = { sp = "lightblue" },
-- auto_close = false, -- whether or not close this group if it doesn't contain the current buffer
-- matcher = function(buf)
-- return buf.path:match("%.lua$")
-- end,
-- },
-- },
-- },
},
}, },
})
end,
}, },
} }

View File

@ -30,8 +30,6 @@ return {
glug("glaive"), glug("glaive"),
glug("alert"), glug("alert"),
glug("googlespell"), glug("googlespell"),
-- Enable logmsgs ASAP to avoid maktaba's log message queue filling up
glug("google-logo"),
-- Add support for google filetypes -- Add support for google filetypes
glug("google-filetypes", { event = { "BufReadPre", "BufNewFile" }, dependencies = {} }), glug("google-filetypes", { event = { "BufReadPre", "BufNewFile" }, dependencies = {} }),
@ -258,8 +256,7 @@ return {
name = "telescope_codesearch", name = "telescope_codesearch",
url = "sso://googler@user/vintharas/telescope-codesearch.nvim", url = "sso://googler@user/vintharas/telescope-codesearch.nvim",
dependencies = { "nvim-telescope/telescope.nvim" }, dependencies = { "nvim-telescope/telescope.nvim" },
config = function() config = function() end,
end,
}, },
{ {
name = "telescope_citc", name = "telescope_citc",