comfysage / evergarden

:rose: a comfy neovim colorscheme for cozy morning coding.
MIT License
122 stars 4 forks source link

docs: Update README.md #3

Closed iton0 closed 4 months ago

iton0 commented 5 months ago

Updated Lazy.nvim Installion Configuration

comfysage commented 5 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

iton0 commented 5 months ago

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.

comfysage commented 4 months ago

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.