-
Some of my LuaSnip snippets use choice nodes, but I don't get any visual feedback for that fact when I'm expanding a choice node. This is subpar experience, because It forces me to remember which parts of my snippets have this option or miss on an opportunity. Is there already some way to surface that information during snippet expansion? |
Beta Was this translation helpful? Give feedback.
Answered by
gregorias
Nov 5, 2023
Replies: 1 comment
-
The following configuration option addressed my concern: ext_opts = {
[types.choiceNode] = {
active = { virt_text = {{"●", "Orange"}}, hl_mode = "combine" }
}
} It adds an orange ball at EOL whenever I'm in a choice node. Source: @Yoolainna at Reddit. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gregorias
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following configuration option addressed my concern:
It adds an orange ball at EOL whenever I'm in a choice node. Source: @Yoolainna at Reddit.