sillybun / zyt-snippet

81 stars 17 forks source link

运行时候发现如下问题 #11

Open brucejuz opened 3 years ago

brucejuz commented 3 years ago

在运行的时候发现如下问题:

1 snippet definition. If you think this is a bug, please report it to 2 https://github.com/SirVer/ultisnips/issues/new 3 Please read and follow: 4 https://github.com/SirVer/ultisnips/blob/master/CONTRIBUTING.md#reproducing- bugs 5 6 Following is the full stack trace: 7 Traceback (most recent call last): 8 File "/Users/brucejuz/.vim/plugged/ultisnips/pythonx/UltiSnips/err_to_scra tch_buffer.py", line 18, in wrapper” ``

多谢!

sillybun commented 3 years ago

第一个bug应该已经解决,第二个我无法repo,具体是哪条指令如何触发?

brucejuz commented 3 years ago

Thanks very much! Your snippets are the most powerful of those I can find in the internet. It helps me a lot!

When I use sth like this:(inline math environment) $pmat(3mn)$ then press \<tab> It shows

1 UltiSnips Error: 1 2 The snippets content did not converge: Check for Cyclic dependencies or rand om strings in your snippet. You can use 'if not snip.c' to make sure to only expand random output once.

But if I input like this(change a line): `$------

pmat(3mn)$`

Then it works perfectly.

Thanks!