Open
Description
Given the following snippet:
{
"if": {
"prefix": ["if"],
"body": [
"if (${1})",
"{",
"\t${TM_SELECTED_TEXT}$0",
"}"
]
}
}
If this snippet is expanded, the cursor (which I will indicate as ^
) sometimes ends up here if (^)
(as expected) but most times it ends up here: if ()^
.
I tried to reproduce this in vanilla vim with just the vsnip plugin, but it behaved correctly in this case, so it could be related to my config
I thought it might be related to the popup menu, but it doesn't seem to matter whether this is open or not