Replies: 1 comment
-
Hi :) This is a cool idea, here is a short POC: ls.setup_snip_env()
ls.add_snippets("all", {
s("choicetest", {
t":", c(1, {
t("asdf", {node_ext_opts = {active = { virt_text = {{"asdf", "Comment"}} }}}),
t("qwer", {node_ext_opts = {active = { virt_text = {{"qwer", "Comment"}} }}}),
})
})
}, { key = "3d9cd211-c8df-4270-915e-bf48a0be8a79" }) This will show some virtual text next to the first line of the current choice, as long as you're in the choiceNode ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to display the comment content after the choices. I am currently using LazyVim. Is there a way to achieve this feature?
Does it also require blink.cmp to work together? Has anyone implemented it? Thank you a lot! !
Beta Was this translation helpful? Give feedback.
All reactions