From d771df0fa7196316a6c729069c6ca8a851914b1e Mon Sep 17 00:00:00 2001 From: Matt Bailey Date: Tue, 31 Aug 2021 16:00:25 -0700 Subject: [PATCH] Name change lspinstall to nvim-lspinstall in lazy loader (#54) On a clean install, packer compiles down to: ```lua ["nvim-lspinstall"] = { loaded = true, path = "..." }, ``` rather than ```lua ["nvim-lspinstall"] = { loaded = true, path = "..." }, ``` without this change, I get a (cosmetic) error on every startup like this: ``` Error: attempted to load lspinstall which is not present in plugins table! Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:13: Error: attempted to load lspinstall which is not present in plugins table! Please check your config for correctness ``` ``` --- lua/navigator/lazyloader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/navigator/lazyloader.lua b/lua/navigator/lazyloader.lua index 9356c88..bc4cd45 100644 --- a/lua/navigator/lazyloader.lua +++ b/lua/navigator/lazyloader.lua @@ -10,7 +10,7 @@ if packer_plugins ~= nil then -- packer install ["guihua.lua"] = "ray-x/guihua.lua" } if _NgConfigValues.lspinstall == true then - lazy_plugins["lspinstall"] = "kabouzeid/nvim-lspinstall" + lazy_plugins["nvim-lspinstall"] = "kabouzeid/nvim-lspinstall" end -- packer installed