neanias / everforest-nvim

A Lua port of the Everforest colour scheme
233 stars 15 forks source link

Add option to override colors in config #10

Closed jacobshu closed 1 year ago

jacobshu commented 1 year ago

It would be nice to be able to override specific colors via the config table, e.g.:

require("lazy").setup({
  "neanias/everforest-nvim",
  version = false,
  lazy = false,
  priority = 1000, -- make sure to load this before all the other start plugins
  -- Optional; default configuration will be used if setup isn't called.
  config = function()
    require("everforest").setup({
      -- Your config here
      palette = {
        bg0 = "#000000"
      }
    })
  end,
})

Opening a PR soon.