LuaSnip
LuaSnip copied to clipboard
Support for simple text transformations in vscode snippets
Thank you for this great plugin!
Do you have plans to support simple text transformations in vscode snippets as documented here: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_transform-examples?
Not short-term, it depends on moving to a new snippet parser and adding an ECMAScript regex engine.
Definitely not short-term xD
If jsregexp
is installed transformations will be applied from now on, there's a bit of an overview on that here
I managed to compile jsregexp
on my FreeBSD laptop but I don't know where to put resulting jsregexp.so
. If it makes any difference, I'm using LunarVim. I had to compile it by hand because FreeBSD has a bit different defaults. Thank you!
I don't know about LunarVim but with a standard configuration you can simply put it into ~/.config/nvim/lua
. You should also be able to place it in one of the directories shown by running :lua print(package.cpath)
in nvim.