Skip to content
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

Crashes with the latest vim-mode-plus #135

Closed
dionyziz opened this issue Feb 5, 2018 · 12 comments
Closed

Crashes with the latest vim-mode-plus #135

dionyziz opened this issue Feb 5, 2018 · 12 comments

Comments

@dionyziz
Copy link

dionyziz commented Feb 5, 2018

Even though the issue with the previous version of vim-mode-plus was addressed in #132, the latest update to atom-latex (0.8.4) and vim-mode-plus (1.28.0) causes this bug to reappear.

To reproduce:

  1. Enable both atom-latex and vim-mode-plus and upgrade to the latest versions.
  2. Open a .tex document
  3. Trying typing $\$

Expected behavior: The text is typed correctly.
Actual behavior: The editor crashes.

@ashthespy
Copy link
Owner

@dionyziz Can you share what shows up in the debug console?
I just tried installing vim-mode-plus v1.28.0 and couldn't reproduce your error. I would advise to open up an issue its repo as well, to speed up figuring out the cause.

@dionyziz
Copy link
Author

I do not have an error in the debug console, because the editor hangs as soon as I type \. It looks like the screenshot attached.

screen shot 2018-02-23 at 10 27 34

@ashthespy
Copy link
Owner

@dionyziz Again, I just installed vim-mode-plus, and everything seemed normal when trying your triggers $ \$
Could you possible share the entries for atom-latex and vim-mode-plus from your config.cson, so that I can try and reproduce?

@ashthespy
Copy link
Owner

@dionyziz closing as I can't reproduce this without your inputs.

@dionyziz
Copy link
Author

This issue was temporarily fixed until the latest update where it starts occurring again. Could you please reopen?

Here is my config.cson as it pertains to atom-latex:

"*":
  "atom-latex":
    build_after_save: false

I do not have vim-mode-plus-specific configuration.

@dionyziz
Copy link
Author

The following message appears right before the editor hangs:

screenshot from 2018-10-15 13-27-19

@dionyziz
Copy link
Author

I have been able to reproduce the above issue with all other plugins disabled, outside of vim-mode-plus and atom-latex.

@ashthespy
Copy link
Owner

ashthespy commented Oct 15, 2018

@dionyziz I just tried with the default the default vim-mode-plus installations. Couldn't reproduce.
As I don't really use that plugin, can you give me minimal settings/steps to reproduce?
Here is what I managed:
vim-mode

@ashthespy ashthespy reopened this Oct 15, 2018
@dionyziz
Copy link
Author

Is it possible to just disable everything outside of LaTeX highlighting for this package? In particular I would like to disable auto-completion/suggestions to see if the issue pertains to that.

@dionyziz
Copy link
Author

Actually I just tried disabling vim-mode-plus completely and the problem remains. So it seems that these two plugins are not conflicting after all -- this seems to be an issue with atom-latex only. The problem persists even if atom-latex is the only package installed.

@dionyziz
Copy link
Author

screenshot from 2018-10-15 20-01-39

@ashthespy
Copy link
Owner

@dionyziz do you have a lot of files in your project dir?
In that case the file watcher module we use could be having issues.

You could disable the watcher module, (albeit at the cost of more filesystem IO operations). To do this, add a disable_watcher:true to your config.cson (Found from FileConfig...) under the Atom-Latex object - something like:

  "atom-latex":
    bibtex: "biber"
    disable_watcher: true

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

No branches or pull requests

2 participants