Releases: smjonas/snippet-converter.nvim
Releases · smjonas/snippet-converter.nvim
v1.5.0
1.5.0 (2023-02-11)
Features
- add argument completion for :ConvertSnippets command (2ba844f)
- add keybinding to send parsing + conversion errors to the quickfix list (078ab15)
- add mapping to send all input files to the quickfix list (612fbdc)
- add option to disable generating package.json file (9d34713)
- add separate format for LuaSnip VSCode snippets (e.g. autotrigger is now respected); refactor parse methods (d54f1aa)
- add support for Emac's YASnippet (bdee9d1)
- default_opts to override command options (95d2c46)
- snipmate_luasnip: support Vimscript code (#9) (2f3a53c)
- snipmate: add snipmate_luasnip flavor (a09be99)
- snipmate: parse snippet priorities (this extended syntax is supported by LuaSnip) (f20e843)
- ui: <C-o> to send output files to quickfix list (d324617)
- ultisnips: detect and remove unnecessary regex option in snippets (0f4c3b3)
- vscode_luasnip/ultisnips: convert snippet priorities (f4b0679)
- vscode_luasnip: don't convert variables to Vimscript (1abbc97)
- vscode: support if / else texts in format node (2922aab)
Bug Fixes
- add nil check when checking type of luasnip key (f9f84d2)
- compatibility with LuaJIT (and Lua 5.1) (264fb7c)
- export snippets for current filetype only (ec3c73d)
- json_utils: correctly sort table by keys (4d23af7)
- snipmate: add tests; fix(parser): parse escaped } correctly (5b235b6)
- snipmate: replace newline characters with whitespace in snippet description (ccff794)
- ultisnips: convert + error out on invalid choice nodes; only support directory as output path (9349bfa)
- ultisnips: correctly parse snippets with empty body or single empty line (193ee47)
- ultisnips: ensure description is present if snippet options are set (c47dc28)
- ultisnips: parse literal "endsnippet" in snippet definition (f4ed0e4)
- vscode_luasnip: parse input snippets correctly; unify luasnip.autotrigger and autotrigger fields (c3b815a)
- vscode: add a name to snippets returned from transformation function (48842b6)
- vscode: convert visual placeholder to TM_SELECTED_TEXT variable (29e7457)
- vscode: correctly handle UltiSnips extends directives when generating package.json file (28f7153)
- VSCode: disallow parsing 0 tabstop in choice node, convert choice node (4b07896)
- vscode: do not try to convert snippets in package.json (785648b)
- vscode: exclude package snippets in package.json to avoid LuaSnip error (aa48221)
- vsnip: escape $ in text nodes during conversion (de0bc85)