Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

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

Open
molleweide opened this issue Jun 21, 2022 · 3 comments
Open

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

molleweide opened this issue Jun 21, 2022 · 3 comments

Comments

@molleweide
Copy link
Contributor

molleweide commented Jun 21, 2022

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 molleweide changed the title (next): after running :PackerCompile twice Telescope commands always stop working. (next): run :PackerCompile -> telescope binds stop working; cmp-nvim starts working. Jun 21, 2022
@molleweide molleweide changed the title (next): run :PackerCompile -> telescope binds stop working; cmp-nvim starts working. (next): run :PackerCompile -> telescope binds stop working Jun 21, 2022
@connorgmeehan
Copy link
Collaborator

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?

@molleweide
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants