github-nvim-theme
github-nvim-theme copied to clipboard
Packer cannot find the theme
Using Packer to install the theme gives the following error:
Invalid configuration /home/karsteski/.config/lvim/config.lua
Vim(luafile):E5113: Error while calling lua chunk: /home/karsteski/.config/lvim/config.lua:118: module 'github-theme' not found
:
^Ino field package.preload['github-theme']No cache entry
Not sure what's happening there :/
if you use packer config like this
use {
"hoob3rt/lualine.nvim",
config = function()
require("lualine").setup {
options = {
theme = "github"
-- ... your lualine config
}
}
end
}
use {
"projekt0n/github-nvim-theme",
after = "lualine.nvim",
config = function()
require("github-theme").setup({
theme_style = "dark_default"
-- your github config
})
end
}
after = 'lualine.nvim'
is the problem, i don't know how packer handle things.
but when you use specify after = 'someplugin'
packer will install your plugin as opt,
you can verify it on $HOME/.local/share/nvim/site/pack/packer/opt/
remove after
then compile, clean, and install
Closing due to inactivity. Can reopen later.