telescope-packer.nvim icon indicating copy to clipboard operation
telescope-packer.nvim copied to clipboard

Extension only works if it's added while neovim is running, fails on a restart

Open RoryNesbitt opened this issue 2 years ago • 0 comments

If I add the following to my packer config I can use this plugin perfectly:

    use {
      "nvim-telescope/telescope-packer.nvim",
      config = function() require("telescope").load_extension "packer" end,
      after = "telescope.nvim",
    },

However after I close and reopen neovim I get this error:

 'packer' extension doesn't exist or isn't installed: ...ack/packer/start/packer.nvim/lua/packer/plugin_util
s.lua:104: attempt to index upvalue 'config' (a nil value)

Note: This happens with or without the after and if I rerun PackerSync it continues to give the same error

RoryNesbitt avatar Jul 28 '22 16:07 RoryNesbitt