gillescastel / latex-snippets

Vim + LaTeX snippets setup
MIT License
1.05k stars 201 forks source link

VimTeX 2.0 - Math contex seems to be broke #13

Closed Hello-Helo closed 3 years ago

Hello-Helo commented 3 years ago

Helo everyone, i updated VimTeX and every math contex snnippet stopped working, mabybe something in the definition broke. I am busy with uni now and will only be able to fix them in the winter break. I removed the 'context "math()"' and I will need to manually expand them if there conflicts with my language (like sr). Dont recomment updating if you use the snippets daily.

antotocar34 commented 3 years ago

See pull request #12. Worked for me.

danielfalbo commented 3 years ago

New update: https://github.com/lervag/vimtex/issues/1864#issuecomment-739916236.

rednaz1337 commented 3 years ago

I'm running the newest vimtex version and still have this problem.

Edit: the [ ] environments aren't recognised, but $...$ are. Weird

Hello-Helo commented 3 years ago

You can just change the math environment definition to the one the the pull request #12, will fix it