Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

rockerBOO
Copy link
Owner

@rockerBOO rockerBOO commented Jul 11, 2021

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant