zenbones-theme / zenbones.nvim

🪨 A collection of contrast-based Vim/Neovim colorschemes
MIT License
657 stars 46 forks source link

Add global bones_compat option #104

Closed p7g closed 1 year ago

p7g commented 1 year ago

This way you don't have to specify an _compat option for every color scheme if you don't want to install Lush, and you don't need to update your init.vim/.vimrc if/when new themes are added.

The compat option for a specific theme takes priority; if you have let g:rosebones_compat = 0 and let g:bones_compat = 1, rosebones will not run in compat mode. Compatibility mode is disabled by default like before.

This is backward-compatible as far as I can tell, other than using a new global variable.

p7g commented 1 year ago

Looks great, thanks! Can you also add it to the docs? Just add it to the docs/zenbones.md

Oops, forgot about that. I just updated the g:zenbones_compat section a bit, let me know if you would like me to change it.