Replies: 2 comments 25 replies
-
Hey 👋 You need to reference the plugin by name, not by There's also no need to override the So I'd change your snippet to: return {
{
'tokyonight.nvim',
colorscheme = 'tokyonight',
before = function()
require("tokyonight").setup({
-- ...
})
end,
},
} or, if you want to defer setting the colorscheme to a return {
{
'tokyonight.nvim',
event = 'BufRead',
before = function()
require("tokyonight").setup({
-- ...
})
end,
after = function()
vim.cmd.colorscheme("tokyonight")
end,
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
25 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to lazy load a bunch of colorschemes so that I can apply them via command
:colorscheme tokyonight
for example.However, no matter how I set the triggers, it always gave me errors saying that
here is my
rocks.toml
and my
lazy_specs/colorscheme.lua
:How can I fix this?
much appreciated
Beta Was this translation helpful? Give feedback.
All reactions