Closed iton0 closed 4 months ago
pulling the options out of the opts
field seems unnecessary.
the config
field should always be prefered over the init
field, since config
can be lazy loaded. e.g., when other colorschemes are installed. this is also why i don't like putting vim.cmd.colorscheme('evergarden')
in the plugin spec.
the priority field seems like a good idea tho (as suggested here).
please read this. hopefully it will help you with your nvim configuration <3
thnx for the contribution <3
Thank you for taking the time to explain. One area I am still having trouble with is the vim.cmd.colorscheme('evergarden') because if I dont have it in the config it will default the the default Neovim colorscheme.
I also changed the commit to just include the priority spec.
One area I am still having trouble with is the vim.cmd.colorscheme('evergarden') because if I dont have it in the config it will default the the default Neovim colorscheme.
setting the colorscheme should probably be run somewhere else in your neovim config based on your setup or personal preference.
Updated Lazy.nvim Installion Configuration