Closed ZreXoc closed 1 year ago
I cannot reproduce this with the information alone, please provide a fully reproducible example, ideally using the approach explained in https://github.com/SirVer/ultisnips/blob/master/CONTRIBUTING.md#reproducing-bugs or if not possible with a minimal vimrc
and snippets files and an exact sequence of key strokes that trigger the bug.
Also disclaimer re Neovim and not core Vim.
UltiSnips maintenance is a lot of work. Reproducing bug reports is tedious, slow and error prone. The current maintainers have to limit their scope to provide a reasonable level of service to the community.
Neovim should work with any plugin that core vim works with. But in the past, Neovim support has been difficult for UltiSnips: It regularly had bugs that did not affect the core Vim distributions, i.e. Vim, gVim, MacVim, and Vim for Windows and its testing approach required a completely separate code path from core as well. Therefore, currently Neovim bugs are considered on a best effort basis.
UltiSnips is looking for an additional maintainer that is interested in bringing the Neovim level of service on par with core Vim. If you are interested in helping out, please reach out to SirVer.
I tried to delete all related settings in vimrc and reinstall Ultisnips but it still not work. Sometimes the snippets work though I did nothing, which confuse me a lot, and I don't know which part I do wrong.
Expected behavior:
Python interpolation in my snippets should work as expected, and no error when running
:UltiSnipsEdit!
Actual behavior: Any snippet with python not worked, though I have installed python and pynvim correctly.
And this is the output after running
:UltiSnipsEdit!
Steps to reproduce
https://github.com/sillybun/zyt-snippet/tree/master
(which contains several Latex snippets which not work).tex
file ,write:<tab>
behindbmat
, and nothing happends.define of bmat is as follows in
.../nvim-data/plugged/zyt-snippet/UltiSnips/mathtex.snippet
(it's imported intex.snippet
):and snippet
if
doesn't work as well:btw, I installed
coc-snippet
, it doesn't support python, so I uninstalled it. I wonder if this has something to do with my problem.