Skip to content
Discussion options

You must be logged in to vote

In case I want to add new colorscheme, could you please help to write some notes/guides for it?

That's a good idea, for now, you can follow these steps:

  1. Add the new theme packer specification to lua/config/plugin/colorscheme/packerspec.lua and set the as key to colorscheme/{theme name}
  2. Create lua/config/plugin/colorscheme/{theme name}/setup.lua, this is where you initialize the theme like setting the configuration, calling the vim.cmd.colorscheme, or override the theme
  3. Add your {theme name} to after/plugin/colorscheme.lua in the colorscehmes table with the key and value as same as {theme name}
  4. Now, you can use the theme by setting NVIM_COLORSCHEME environment variable to {theme name}, …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by thieung
Comment options

You must be logged in to vote
6 replies
@thieung
Comment options

@fitrh
Comment options

fitrh Sep 5, 2022
Maintainer

@thieung
Comment options

@fitrh
Comment options

fitrh Sep 5, 2022
Maintainer

@thieung
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants