toggle-corp / alacritty-colorscheme

Change colorscheme of alacritty with ease.
Apache License 2.0
341 stars 34 forks source link

256 themes not availible by name in nvim #39

Open sadilekivan opened 1 year ago

sadilekivan commented 1 year ago

Calling the -V option generates a .vimrc_background which does not take into account that the base16-vim doesn't use -256 naming convention, but the let base16colorspace=256 option. Striping "-256" from the name would fix that. Something like this?

For example: alacritty-colorscheme -V apply base16-onedark-256.yml needs a colorscheme base16-onedark, not colorscheme base16-onedark-256

Happens on 1.0.1 arch

tnagorra commented 1 year ago

If you are using https://github.com/aarowill/base16-alacritty/tree/master/colors, then you can simply use base16-onedark.yml.

Currently, the theme name applied in alacritty should exactly match the theme name used in vim. For cases where they do not match, we will need to implement a more generic approach than stripping -256