hrsh7th / vim-vsnip

Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is possible run code on snippet spand.

sshgun opened this issue · comments

First of all, thank you for your work.

When I use the expand on the code for some languages like typescript I need to add the imports for functions inside of the snippets. I would like to automate this task and run code to insert the corresponding imports on file.

How can I extend the lib to do this, or is there a way to do it.?