local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
-- do not remove the colorscheme!
"folke/tokyonight.nvim",
{
"utilyre/barbecue.nvim",
dependencies = {
"neovim/nvim-lspconfig",
"SmiteshP/nvim-navic",
"nvim-tree/nvim-web-devicons",
},
config = function()
require("barbecue").setup()
end,
},
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
-- add anything else here
vim.opt.termguicolors = true
-- do not remove the colorscheme!
vim.cmd([[colorscheme tokyonight]])
Requirements
Expected Behavior
Being able to call
require("barbecue.ui").navigate(2)
like it's described in the docs https://github.com/utilyre/barbecue.nvim/blob/c6cb480f397d19f73cf2ff491c547d751118dbae/doc/barbecue.txt#L119Actual Behavior
calling the function fails because it has been removed in https://github.com/utilyre/barbecue.nvim/commit/d8dad18c7d2ea96099dc5d4712761433f4f551a7
Neovim Version
Minimal Configuration
Reproduction
:lua require("barbecue.ui").navigate(1)