Wrong tabstop position
Bug #1256451 reported by
Andrei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have the following snippet:
snippet se "" b
,{
'AUTHOR': '${1:Williams}',
'TEXT': '${VISUAL}$2',
}
endsnippet
When I skip first tabstop without changing default text, the second tabstop shows itself beyond single quotes as if we would have ...'$2,... instead of ...$2',... But when default text in the first tabstop is changed the second tabstop appears in the right place.
To post a comment you must log in.
I cannot reproduce this. I copy and pasted your snippet, unintended it, so that ,{ is starting at the begging of the line. In an empty file I type:
se<expand><jf>hello world<jf>blub
output is as expected:
------------------- SNIP -------------------
,{
'AUTHOR': 'Williams',
'TEXT': 'hello world',
}blub
------------------- SNAP -------------------