It would be cool to see available triggers as you type, much like we are able to see completions of language facilities.
It could display a trigger, and info inside information field like so:
but instead of __fortify_function there will be some trigger, say for, instead of Interface there will be Snip or Snippet, and instead __fortify_function will be the snippet description for loop
It would be cool to see available triggers as you type, much like we are able to see completions of language facilities.
It could display a trigger, and info inside information field like so: but instead of
__fortify_function
there will be some trigger, sayfor
, instead ofInterface
there will beSnip
orSnippet
, and instead__fortify_function
will be the snippet descriptionfor loop
I also wonder how it will play when https://github.com/mawww/kakoune/tree/completions-commands arrive. Could it be possible to expand snippets on completion, or if special key is pressed after the completion, and so on.