Dynamic jumps to tags without children and attributes without values
How is this accomplished? When attempting to do a jump, I get the following error:
An error occured. This is either a bug in UltiSnips or a bug in a
snippet definition. If you think this is a bug, please report it to
https://github.com/SirVer/ultisnips/issues/new.
Following is the full stack trace:
Traceback (most recent call last):
File "/Users/shane/.nvim/plugged/ultisnips/pythonx/UltiSnips/err_to_scratch_buffer.py", line 16, in wrapper
return func(self, *args, **kwds)
File "/Users/shane/.nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 141, in expand_or_jump
rv = self._jump()
File "/Users/shane/.nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 520, in _jump
snippet_for_action
File "/Users/shane/.nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/definition/_base.py", line 398, in do_post_jump
self._actions['post_jump'], current_snippet.context, locals
File "/Users/shane/.nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/definition/_base.py", line 160, in _execute_action
snip = self._eval_code(action, locals)
File "/Users/shane/.nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/definition/_base.py", line 135, in _eval_code
exec(code, {'snip': snip})
File "<string>", line 3, in <module>
File "/Users/shane/.nvim/plugged/emmet.snippets/pythonx/emmet.py", line 342, in post_jump
del snip.buffer[snip.snippet_start[0]:snip.snippet_end[0]]
AttributeError: __delslice__
Snippet, caused error:
Defined in: /Users/shane/.nvim/plugged/emmet.snippets/UltiSnips/html_emmet.snippets:13
Trigger: e
Description: "Emmet interpolation"
Context: <none>
Pre-expand: <none>
Post-expand: <none>
Executed snippet code:
1 import re, os, vim, string, random
2 import emmet
3 emmet.post_jump(snip)
The readme mentions dynamic jumps,
How is this accomplished? When attempting to do a jump, I get the following error: