Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to load the theme in lazy plugin manager #204

Open
AnkurAlpha opened this issue Jun 17, 2024 · 1 comment
Open

Not able to load the theme in lazy plugin manager #204

AnkurAlpha opened this issue Jun 17, 2024 · 1 comment

Comments

@AnkurAlpha
Copy link

I am not able load the the theme in lazy plugin manager,
it was working great in packer it doesn't works in lazy
here are my configs :

function ColorMyPencils(color)
    color = "PaperColor"
    vim.cmd.colorscheme(color)

    vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
    vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end

return {
    {
        "NLKNguyen/papercolor-theme",
        priority = 1000,
        config = function()
             require("papercolor").setup({
             })
            ColorMyPencils()
        end
    },

}

It gives me an error like papercolor is not found

Any kind of help will be appreciated.
Thanks in advance 🙂

@mattpascoe
Copy link

I was able to get mine to not have the error with the following:

  {
    'NLKNguyen/papercolor-theme',
    priority = 1000,
    config = function()
      -- Blank to address startup error
    end,
    init = function()
      vim.opt.termguicolors = true
      vim.cmd.colorscheme 'PaperColor'
    end,
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants