nvim --version: 0.5git --version: 2.31git clone https://github.com/GustavoPrietoP/evil-nvim.git
Breaks the whole packer plugin.
Install's plugins as normal.
It seems like it's a packer issue. On my computer, it works fine but whenever I try on a VM I get the same issue. I tried everything and can't seem to get it working with packer (i installed paq and it worked perfectly).
Edit: This is my config file
@GustavoPrietoP just so I understand correctly the issue is that when evil-nvim is specified as a plugin for packer using use "GustavoPrietoP/evil-nvim" it breaks, it would be good to know what you mean by breaks. Are there any specific error messages? what is breaking exactly?
Looking at evil-nvim is the intent that it should be installed as a plugin because it isn't structured as a (n)vim plugin and more like a configuration repository?
When you say it works with paq what does that look like?
Lastly should this be how that configuration is setup i.e. as a packer plugin itself rather than something a user clones? because it will mean that they are constantly having to update the plugin directory which will mean that they won't be able to update config/plugin since it will have local changes
@GustavoPrietoP I do not see a link to your config file; can you please add it?
@GustavoPrietoP I do not see a link to your config file; can you please add it?
hey, I switched to paq everything seems to work fine now. Sorry for the inconvenience.
this was the issue

we no longer use packer so there is no way to replicate this anymore (im pretty sure you guys didn't try it either because you would've gotten that error)
here was the commit. You can check all the changes and see if there is anything wrong with how packer was set up
https://github.com/GustavoPrietoP/evil-nvim/commit/56bbc039b7470a04aafbcf67e56b41765e1636e8
Not a packer bug
do you know why it works on my machine?
Not sure I understand your question, are you referring to the vim.cmd call or the autocommand itself?
I believe the issue is that packer sets the filetype option for its own buffer on line 643 in display.lua, which triggers the FileType * autocmd before the mark is set (I can't reproduce 100% of the time though).
(Also, be careful not to pad your vim.cmd strings. Here the trailing space is interpreted as part of the :norm command, so instead of executing '" it executes '"<Space>)
defaults.vim has a similar autocmd that handles cases where the mark isn't set. I've been using it for a while and I have yet to encounter an issue with it.
Most helpful comment
Not a
packerbugThis is what causes the error message