Closed coxackie closed 3 years ago
ok, I found the culprit, one of the snippets there had no "prefix". But I am still not able to get snippets expand for tex files. I use the key mappings described in the readme. They work ok, for example, for an r file, using this. But, for tex files, I type the snippet name and then
I will improve it
thanks - I appreciate that, but I am not sure what is the actual issue. It could be something wrong with the texlab client right now, because of this, which could potentially get fixed by this. However, I am noticing the issue also with the clangd server:
I've improved handling snippet as just ignore invalid snippet (e.g.: has no prefix, has no body etc...)
If you still encountered this problem, I think it is not vsnip side problem maybe.
many thanks - you are awesome!
First of all, many thanks for your work.
Completely noob question, trying to figure out what is going on. So, I have created a
.vsnip/tex.json
link to thelatex.json
file from the vscode extension Latex workshop. It is the one here, for ease of reference.Have set up completion via
completion-nvim
, and usingvsnip
as snippet engine - also have installed the integration. Now, when I try to autocomplete (which works fine as long as there is no snippet file), I get:I am not sure what the issue is, and even whether I should raise it here or with
completion-nvim
(or whether I am doing something really stupid). Any advise would be greatly appreciated.