Closed blueyed closed 11 years ago
Your'e a dev, right? So you should know what is required for me to reproduce a bug: 1) yoru snippets 2) your config 3) your action in Vim. The fastest way would be you pinging me on irc, then we both reproducing your setup on my server, us then fixing it
I just wanted to leave it here for later (quickly copy'n'pasted), and I did not remember what triggered it.
From looking at the code it appears as follows:
_sm
is only used in the code around there (in parse
).self._error_fun
in init.self._error_fun
should be used here instead.The 2nd reference to self._sm
below should probably get replaced by UltiSnips_Manager
:
elif head == "clearsnippets":
self._sm.clear_snippets(tail.split(), self._ft)
To reproduce it you probably just need a snippet with "extends" (this issue) and "clearsnippets", second issue.
I am committing a fix (to my repo), please take a look at it and cherry-pick/merge it if it's OK.
This just happened, when I have triggered Ultisnips: