I am currently using Packer
with Neovim and trying to load a specific plugin called neosolarized
. However, I am encountering the following error message and failing to load the plugin:
neosolarized is not installed false loop or previous error loading module 'neosolarized'
Here's a part of my configuration file(~/.config/nvim/lua/neosolarized.lua
):
local status, packer = pcall(require, "packer")
if (not status) then
print("Packer is not installed")
return
end
vim.cmd [[packadd packer.nvim]]
packer.startup(function(use)
use 'tjdevries/colorbuddy.nvim'
use 'svrana/neosolarized.nvim'
end)
local status, n = pcall(require, "neosolarized")
if (not status) then
print("neosolarized is not installed", pcall(require, 'neosolarized'))
return
end
I run :PackerSync
and then open Neovim. Does anyone have any ideas on how I could solve this issue or what might be causing it? Any help is greatly appreciated.