We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the gruvbox theme and using themery gives an error of Themery error: Could not open file or read: /home/name/.config/nvim/v:null
Themery error: Could not open file or read: /home/name/.config/nvim/v:null
This is my current setup in themery.lua
require("themery").setup({ themes = {{ name = "Day", colorscheme = "gruvbox", before = [[vim.opt.background = "light"]], themeConfigFile = "/home/name/.config/nvim/lua/blah/plugins/day.lua" }, { name = "Night", colorscheme = "gruvbox", before = [[vim.opt.background = "dark"]], themeConfigFile = "/home/name/.config/nvim/lua/blah/plugins/night.lua" } } })
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue! I will check it in a few days as soon as I have time :)
Sorry, something went wrong.
Oh wait I think I've found the problem.
"themeConfigFile" should be declared once outside the themes tag.
Try this code:
require("themery").setup({ themeConfigFile = "/home/name/.config/nvim/lua/blah/plugins/sample-config.lua", themes = {{ name = "Day", colorscheme = "gruvbox", before = [[vim.opt.background = "light"]], }, { name = "Night", colorscheme = "gruvbox", before = [[vim.opt.background = "dark"]], }} })
And in the sample-config.lua (or in your own configuration file) put this text:
-- Themery block -- end themery block
Closing due to inactivity. If the problem is not solved by the proposed solution, please feel free to reopen the issue.
No branches or pull requests
I'm using the gruvbox theme and using themery gives an error of
Themery error: Could not open file or read: /home/name/.config/nvim/v:null
This is my current setup in themery.lua
require("themery").setup({
themes = {{
name = "Day",
colorscheme = "gruvbox",
before = [[vim.opt.background = "light"]],
themeConfigFile = "/home/name/.config/nvim/lua/blah/plugins/day.lua"
}, {
name = "Night",
colorscheme = "gruvbox",
before = [[vim.opt.background = "dark"]],
themeConfigFile = "/home/name/.config/nvim/lua/blah/plugins/night.lua"
}
}
})
The text was updated successfully, but these errors were encountered: