orhnk / vimacs

Feature-full Neovim Experience - With Emacs, JetBrains features OOTB
GNU General Public License v3.0
324 stars 8 forks source link

how to install theme vim-yin-yang #29

Closed rdataforge closed 8 months ago

rdataforge commented 10 months ago

I usually install themes via package manager or placing files into ~/.config/nvim/lua/nvchad/themes but there is no such folder

Theme is here https://github.com/pgdouyon/vim-yin-yang

Thanks for a great work!

orhnk commented 10 months ago

You can add any theme you want with SUPPORT FOR ALL THE PLUGINS out of the box! you just need to add it into ~/.custom/nvim/lua/custom/themes/ according the instructions here but this requires you to write the scheme palette by hand.

Or you can add this colorscheme as a plugin (in custom/plugins.lua) using:

...
-- line ~4765 (last line before the last `}`)
{
    "pgdouyon/vim-yin-yang",
    lazy = false, -- colorscheme has to get loaded at startup
}
...

and then restart neovim and run :colorscheme yin but this method will break the highlighting groups that are used to generate proper color templates for a lot of plugins. So stick with the first method whenever possible.

[!NOTE] Here is the end result using it as plugin

grafik

rdataforge commented 9 months ago

Great! thanks a lot