doom-nvim icon indicating copy to clipboard operation
doom-nvim copied to clipboard

(next): run `:PackerCompile` -> telescope binds stop working

Open molleweide opened this issue 2 years ago • 3 comments

This happens for both clean next branch and my main branch.

  1. start nvim
  2. run packer compile once (or twice).
  3. telescope stops working
Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:83: Vim:E492: Not an editor command: Telescope find_files
Please check your config for correctness
E492: Not an editor command: Telescope find_files
E492: Not an editor command: Telescope live_grep
E492: Not an editor command: Telescope buffers

this one shows sometimes also.

E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "Error in packer_compiled
: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:155: Vim(lua):E5108: Error executing lua [string \":lua\"]:1: attempt to index field 'man
ager' (a nil value)
stack traceback:
        [C]: in function 'cmd'
        ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
        [string ":lua"]:1: in main chunk

molleweide avatar Jun 21 '22 15:06 molleweide

I can't recreate this but I'm going to guess this is an issue with a lang's LSP (only instance of manager in the project`. What kind of file are you opening?

connorgmeehan avatar Jun 24 '22 07:06 connorgmeehan

It has been Lua files mostly. I don't have much more to add here atm. But it does persist. We'll see what happens.

molleweide avatar Jun 25 '22 07:06 molleweide

In the mason branch, after opening vim and running compile this is the message shown:

Error detected while processing CmdUndefined Autocommands for "Telescope":
E492: Not an editor command: browse_files ++once lua require"packer.load"({'telescope-file-browser.nvim'}, {}, _G.packer_plugins)
E492: Not an editor command: browse_files ++once lua require"packer.load"({'telescope-file-browser.nvim'}, {}, _G.packer_plugins)
E492: Not an editor command: browse_files ++once lua require"packer.load"({'telescope-file-browser.nvim'}, {}, _G.packer_plugins)
E492: Not an editor command: Telescope find_files

molleweide avatar Sep 30 '22 14:09 molleweide