Skip to content

Commit

Permalink
Revert "refactor: replace barbecue with bufferline (#430)" (#433)
Browse files Browse the repository at this point in the history
This reverts commit 98e4a7b.
  • Loading branch information
n3wborn authored Jan 21, 2025
1 parent 37383a0 commit 5a0d327
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 46 deletions.
6 changes: 3 additions & 3 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" },
"before.nvim": { "branch": "master", "commit": "187bafe2792a82d53cdb632971e4113cd703ac53" },
"bufdelete.nvim": { "branch": "master", "commit": "f6bcea78afb3060b198125256f897040538bcb81" },
"bufferline.nvim": { "branch": "main", "commit": "17083c826a004bcb87d3a830c7710d0796a73bbf" },
"catppuccin": { "branch": "main", "commit": "f67b886d65a029f12ffa298701fb8f1efd89295d" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
Expand Down Expand Up @@ -49,12 +49,12 @@
"rainbow-delimiters.nvim": { "branch": "master", "commit": "85b80abaa09cbbc039e3095b2f515b3cf8cadd11" },
"rustaceanvim": { "branch": "master", "commit": "bc8c4b8f7606d5b7c067cd8369e25c1a7ff77bd0" },
"schemastore.nvim": { "branch": "main", "commit": "feaa60d3451d7f7e52eaf76a07ea52808d68cf6c" },
"snacks.nvim": { "branch": "main", "commit": "1b7a57a0b14b37a708330a346a767865954ce448" },
"snacks.nvim": { "branch": "main", "commit": "d2b2b7bcbf9814d61f2e8049affed750509f44e3" },
"telescope-git-submodules.nvim": { "branch": "main", "commit": "e9bbf8b9451dcd7911e0c1bf3ab0f61bb33e0a59" },
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
"trouble.nvim": { "branch": "main", "commit": "4d36b8979287f5facc03fd6d955ace67db667e1d" },
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
"typescript-tools.nvim": { "branch": "master", "commit": "35e397ce467bedbbbb5bfcd0aa79727b59a08d4a" },
"undotree": { "branch": "master", "commit": "2556c6800b210b2096b55b66e74b4cc1d9ebbe4f" },
"vim-dadbod": { "branch": "master", "commit": "f740950d0703099e0f172016f10e0e39f50fd0ba" },
Expand Down
33 changes: 33 additions & 0 deletions lua/plugins/barbecue.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
return {
'utilyre/barbecue.nvim',
name = 'barbecue',
event = { 'BufEnter' },
version = '*',
dependencies = {
'SmiteshP/nvim-navic',
'nvim-tree/nvim-web-devicons',
},
config = function()
require('barbecue').setup({
attach_navic = true,
show_dirname = false,
theme = 'catpuccin-mocha',
create_autocmd = false,
})

vim.api.nvim_create_autocmd({
'WinResized',
'BufWinEnter',
'CursorHold',
'InsertLeave',

-- include this if you have set `show_modified` to `true`
'BufModifiedSet',
}, {
group = vim.api.nvim_create_augroup('barbecue.updater', {}),
callback = function()
require('barbecue.ui').update()
end,
})
end,
}
40 changes: 0 additions & 40 deletions lua/plugins/bufferline.lua

This file was deleted.

6 changes: 3 additions & 3 deletions lua/plugins/catpuccin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ return {
functions = { 'italic' },
},
integrations = {
-- barbecue = {
-- dim_dirname = true,
-- },
barbecue = {
dim_dirname = true,
},
cmp = true,
coc_nvim = false,
diffview = true,
Expand Down

0 comments on commit 5a0d327

Please sign in to comment.