Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 902 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 902 Bytes

theme-persistence.nvim

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.

Features

  • Automatically saves the current colorscheme to a file on colorscheme change.
  • Re-applies the saved colorscheme on startup.

Installation

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.

Usage

  1. The plugin automatically saves your current colorscheme every time you change it.
  2. On the next startup, it reads the saved colorscheme from the disk and applies it.

License

This project is licensed under the MIT License. See the LICENSE file for details.