Closed andreyorst closed 2 years ago
Documentation of transformations for LSP style snippets may be needed to support lsp snippets.
Basically transformations allows modifying the placeholder contents, before it is inserted with sed-like commands written inside the placeholder.
You can also check transformations in UltiSnips, which can actually execute shell, python and vimscript: UltiSnips#Interpolation
There's also yasnippet for Emacs, that allows to do some cool real time transformations. You can check the docs here
Documentation of transformations for LSP style snippets may be needed to support lsp snippets.
Basically transformations allows modifying the placeholder contents, before it is inserted with sed-like commands written inside the placeholder.
You can also check transformations in UltiSnips, which can actually execute shell, python and vimscript: UltiSnips#Interpolation
There's also yasnippet for Emacs, that allows to do some cool real time transformations. You can check the docs here