ultisnips_to_luasnip

Python script that converts simple snippets defined in UltiSnips format to LuaSnip snippets (by medwatt)

Ultisnips_to_luasnip Alternatives

Similar projects and alternatives to ultisnips_to_luasnip

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ultisnips_to_luasnip alternative or higher similarity.

ultisnips_to_luasnip reviews and mentions

Posts with mentions or reviews of ultisnips_to_luasnip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-22.
  • Do you want a faster way to create Lua Snippets?
    3 projects | /r/neovim | 22 Jan 2023
    I believe ultisnips has a very intuitive syntax for creating snippets. I wrote a small tool that converts some ultipsnip snippets to luasnip format. The tool can still be improved but I lost motivation after realizing that luasnip has no regex support. Here is it if you want to check it out.
  • Writing a simple parser
    1 project | /r/learnpython | 12 Jan 2023
    Thanks for your reply. Actually, the most recent case where I have wanted to parse something has been with respect to convert "code snippets" from one language to another. Here's an attempt to my solution. It works for simple cases, but failes for cases where things are nested, such as in the example below. This is mostly due to me using any structured approach.
  • UltiSnips to LuaSnip converter
    5 projects | /r/neovim | 6 Jan 2023
    I have been working on converting some of my Ultisnips snippets to LuaSnips and found the process to be quite tedious. I attempted to automate the process and created a script to do so, which can be found here. Some test cases are included. While it's not possible to fully convert Ultisnips snippets to LuaSnip (as it would require converting from Python to Lua), the script is able to handle relatively simple snippets. Even if the snippet doesn't run correctly at first, it should only require a few adjustments to fix. However, since this is the first time I have written a "parser," I would appreciate any assistance, particularly with the recursive (nested) parts of the script.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 28 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ultisnips_to_luasnip repo stats
3
3
10.0
over 1 year ago

medwatt/ultisnips_to_luasnip is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of ultisnips_to_luasnip is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com