andreyorst / plug.kak

Plugin manager for Kakoune
MIT License
197 stars 18 forks source link

`color-scheme` switch #38

Closed andreyorst closed 5 years ago

andreyorst commented 5 years ago

I'm thinking of adding a colors-cheme attribute, so instead of installing colorschemes like so:

plug "andreyorst/base16-gruvbox.kak" noload do %{
    find -type f -name "*.kak" -print0 | xargs -0 cp -t $HOME/.config/kak/colors
} config %{
    colorscheme base16-gruvbox-dark-soft
}

It will look like so:

plug "andreyorst/base16-gruvbox.kak" colors-cheme %{
    colorscheme base16-gruvbox-dark-soft
}

Where color-scheme switch will make plug copy schemes to colors folder on update for specific packages.

andreyorst commented 5 years ago

I've decided to change switch name from color-scheme to theme to avoid possible conflicts