-
Hi, There's command something like this Which insert snippet
It's provided by another plugin (which executes shell command). Instead of executing command in vim or I tried this but doesn't work.
Wish I could get some help. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
TBH, I don't think this is a good idea, we assume that the buffer is not modified while inserting a snippet. |
Beta Was this translation helpful? Give feedback.
-
I think it's better to use an |
Beta Was this translation helpful? Give feedback.
-
Ended up creating plugin with nvim-cmp, thanks for the reply. |
Beta Was this translation helpful? Give feedback.
TBH, I don't think this is a good idea, we assume that the buffer is not modified while inserting a snippet.
It might work if the functionNode returns a
""
(ie the snippet does not insert any text), but please don't count on it.