corvofeng/Vsnips

How to make it work with Latex workshop ?

Opened this issue · 2 comments

Hello,

I've been playing with this extension and seems to work as described. I created a tex.snippets file but it doesn't seem to be detected inside a tex document. The all.snippets gets detected fine. I am using Latex workshop to parse the tex documents. How can I get this extension to work if I don't want to put all the code inside the all.snippets?

I'm sorry I didn't reply to you in time, I didn't check the issue page often!

If you use latex workshop, the vscode will consider it syntax as latex.

image

Well, if you want use snippets for latex, you may need to create the snippet file named latex.snippets.

image

1

I noticed that you had mentioned the tex.snippets. In this project https://github.com/honza/vim-snippets, there are only tex.snippets. I would like to add the tex.snippets for latex, so that user can use both latex or tex snippets.