-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running :PackerSync
with vimtex causes neovim to crash
#2724
Comments
This sounds like a packer problem, not a VimTeX problem. I suggest you open this issue on the packer issue tracker instead. I have no idea why neovim would crash, and I don't believe there are any problems related to VimTeX that causes this. |
@lervag Got it. I posted about it here: wbthomason/packer.nvim#1240. I'm going to try reinstalling neovim to see what the issue is. |
Thanks. Notice, you may want to consider switching to https://github.com/folke/lazy.nvim. It's become quite popular and IMHO is a better take at a plugin manager. |
I'll give it a try. I usually follow other people's tutorials for setting up Neovim, and they usually use packer. But I like the idea of lazyloading, so I'll give it a shot! |
lazy.nvim has become very popular lately, though, and I know a lot of people have swithed over from packer already. So you will probably find that recent tutorials are starting to suggest lazy.nvim instead of packer. ;) |
My suggestion would be to simply delete the vimtex folder and install it again. |
Hahaha; the solution is to stop using Windows, because Windows is stupid! See here: https://stackoverflow.com/questions/61614004/cloning-succeded-but-checkout-failed-due-to-invalid-path-what-is-the-path-probl I've pushed a commit that I think may solve this. Try and delete vimtex and clone again. |
Sad to say that the issue still hasn't gone away when using packer, but vimtex now installs to completion on lazy! Thanks for your persistence on this issue! Edit: if you'd like to see more about this issue, I have my nvim/ directory stored in a public repository at https://github.com/thatonemailbox/nvim, with the main branch having packer installed, rather than lazy. |
I checkout out your config and tried to reproduce, but on my end, everything seems to work as expected. I'm on the nightly neovim on Linux, though, so this may definitely be a factor here.
That's good to hear! I would suggest that you use lazy, then. :) |
Description
I use Neovim, and I use packer to install and manage my plugins. I have the following code in my "plugins.lua":
If I run
:PackerSync
with any other plugin, everything will be fine; but if I include the lineuse 'lervag/vimtex'
, Neovim will crash after every sync.Steps to reproduce
Edit (6/8/2023): See my repost of this issue at wbthomason/packer.nvim#1240.
Do you use a latexmkrc file?
No
VimtexInfo
The text was updated successfully, but these errors were encountered: