Custom plugin to manager neovim visuals.
APACHE-2.0 License
Custom plugin to manager neovim visuals.
This is a single plugin in which you could not only load your colorschemes, but also pass to it your custom and favorite changes so it is able to toggle them on and off.
This allows an custom experience for testing different colorschemes and how your functions affect them.
colorscheme-manager.nvim
is built to work on a couple of simple parameters:
vim.cmd.colorscheme
function.custom_options_function
. If no value is provided it is automatically set to true ifcustom_options_function
setup function.{
"Diogo364/colorscheme-manager.nvim"
}
As mentioned before, this should be helpful to switch your colorscheme keeping your ui setup. Therefore, we provide a set of commands to allow you to see how your setup is affected by your choices:
:ColorManagerToggleCustomOptions
: Enable/Disable your custom options function.:ColorManagerChangeColor <your-favorite-colorscheme-here>
: Changes your colorscheme and applyUse this guide to setup your personal preferences.
local ColorMyPencils = function()
-- Yes, this is from ThePrimeagen's config
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
require("colorscheme-manager").setup({
colorscheme = "your-favorite-colorscheme-here",
enable_custom_options = true,
custom_options_function = ColorMyPencils
})
ColorMyPencils
function to apply changes to