Using vim 8, Ultisnips, and coc-ultisnips.
Consider this snippet:
snippet cdeg "Add console.debug({})"
console.debug(${0:${VISUAL:value}})
endsnippet
I would expect it to expand cdeg to console.debug(value).
The problem is if I have that buffer:
hello
Then visual select hello, press C to replace it with cdeg and then expand. I would expect the buffer to look like that:
console.debug(hello)
But instead, I get
console.debug(value)
So it would seem ${VISUAL} has no effect with coc-ultisnips. Any idea what is going on, and how to have coc-ultisnips behave like UltiSnips regarding ${VISUAL}?