-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
I have the following snippets defined:
"doc": {
"prefix": ["doc"],
"body": ["{{< doc \"${1:file}\" >}} $0"],
"description": "variant 1"
},
"doc (full)": {
"prefix": ["doc"],
"body": ["{{< doc \"${1:file}#${2:anchor}\" \"${3:link-text}\" >}} $0"],
"description": "variant 2"
}
But no matter which one I select in the context menu, I always end up getting variant 1 (in my buffer). If I delete variant 1 from above snippet file, I can use the remaining variant 2 just fine.
Since there aren't many examples in the doc, I'm not sure if this is supported yet.
I'm using vim-vsnip with completion-nvim.