You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not exactly repeat your direct error, but I did manage to reproduce a crash; and that seems to be related to this stanza:
use({
'rose-pine/neovim',
as='rose-pine',
config=function()
vim.cmd('colorscheme rose-pine')
end
})
Somehow this is producing a race-condition of sorts between the rose-pine theme and nvim-linefly.
I believe that your config line there should be removed. Setting of the colorscheme, in-my-experience, should happen after all plugins have been loaded (usually the last line of init.lua).
Please do this instead:
vim.cmd.packadd('packer.nvim')
returnrequire('packer').startup(function(use)
-- Packer can manage itselfuse'wbthomason/packer.nvim'use({
'rose-pine/neovim',
as='rose-pine',
})
-- All other pluginsuse'bluz71/nvim-linefly'end)
vim.cmd('colorscheme rose-pine')
Bonus, I added in support for rose-pine colors copying rose-pine Lualine colors.
When I installed linefly this error appears in the statusline. Maybe another plugin is causing this?
Here is my packer.lua:
The text was updated successfully, but these errors were encountered: