[X] I have skimmed other issues to see if this bug has already been reported.
[X] I'm fully certain that this is not a breaking change, see the latest release.
[X] This plugin and its dependencies are up to date with the latest commit.
[ ] I'm willing to fix this through a PR.
Expected Behavior
Whenever I open a new file, whether this is a Lua or Go file, the highlight group for that specific file icon is created and the background color cannot be changed, also , it seems the icon is offset.
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
Whenever I open a new file, whether this is a Lua or Go file, the highlight group for that specific file icon is created and the background color cannot be changed, also , it seems the icon is offset.
Actual Behavior
Neovim Version
Minimal Configuration
Reproduction