theme-persistence.nvim is a simple Neovim plugin that automatically saves your current colorscheme to a file and re-applies it every time Neovim starts.
- Automatically saves the current colorscheme to a file on colorscheme change.
- Re-applies the saved colorscheme on startup.
Using lazy.nvim
return {
"purp0w/theme-persistence.nvim",
config = function()
require("theme-persistence")
end,
lazy = false, -- To ensure it applies the theme on startup
}
Then, run :Lazy sync
in Neovim.
- The plugin automatically saves your current colorscheme every time you change it.
- On the next startup, it reads the saved colorscheme from the disk and applies it.
This project is licensed under the MIT License. See the LICENSE file for details.