rockerBOO / boo-colorscheme-nvim

Boo is a colorscheme for Neovim with handcrafted support for LSP, Tree-sitter.
MIT License
200 stars 12 forks source link

feat: Build vim colorscheme file colors/boo.vim #5

Open rockerBOO opened 3 years ago

rockerBOO commented 3 years ago

This makes the colorscheme have 2 supported uses.

colorscheme boo 

will use the boo.vim with the exported colors

lua require('boo-colorscheme').use({})

will use the lua version of the colorscheme.

This allow us to support vim with this colorscheme as well as neovim.

rockerBOO commented 2 years ago

The problem with the approach is colors/boo.vim get sourced before or instead of colors/boo.lua. This hurts making this colorscheme support Vim as well as I can not have both files there. Maybe I can short circuit if Neovim is the runtime.