winter-again / wezterm-config.nvim

Make Wezterm config overrides from inside Neovim
MIT License
47 stars 0 forks source link

Consider simultaneously setting background and colorscheme #2

Closed winter-again closed 8 months ago

winter-again commented 9 months ago

It'd be interesting to see if we can set a diff idea of profiles in Neovim plugin config that allow pairing a background image and a Neovim colorscheme. Calling some func that calls on some table passed into config will set both.

Would have to pass data with the wezterm-config profile name/id that would specify the Wezterm appearance changes and then the Neovim background for vim.cmd('colorscheme ...') call. There's probably a clever way of pairing the data that allows a cleaner way of configuring.

winter-again commented 9 months ago

Maybe it could just be some snippet func rather than built-in? Either way...


pairs = {
    bg_1 = {'tokyonight'},
    bg_2 = {'gruvbox'},
}
-- or?
pairs = {
    tokyonight = {'bg_1', 'bg_3'},
}
winter-again commented 8 months ago

This shouldn't be the job of the plugin. I'm just doing this in the plugin's config func.