occivink / kakoune-snippets

Snippet support for kakoune
The Unlicense
49 stars 6 forks source link

[Feature Request] Transformations #3

Closed andreyorst closed 2 years ago

andreyorst commented 5 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