ultisnips_to_luasnip
Python script that converts simple snippets defined in UltiSnips format to LuaSnip snippets (by medwatt)
dotfiles
Bash shell and Vim configuration settings (by Integralist)
ultisnips_to_luasnip | dotfiles | |
---|---|---|
3 | 25 | |
3 | 58 | |
- | - | |
10.0 | 8.4 | |
over 1 year ago | 7 days ago | |
Python | Shell | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ultisnips_to_luasnip
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?
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
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
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.
dotfiles
Posts with mentions or reviews of dotfiles.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-06.
-
Can anyone recommend a good github dotfiles repos for neovim that uses LazyVim as it's plugin manager?
https://github.com/Integralist/dotfiles (.config/nvim is a submodule to https://github.com/Integralist/nvim)
- Snippets folder for LuaSnip
- LuaSnip + vim-go
- Help with nvim-cmp and luasnip
-
Do you want a faster way to create Lua Snippets?
I could imagine that 'project' or 'domain' specific snippets created on-the-fly when needed could be a popular idea because it's often I'm working on something and suddenly think "yeah this would be good as a snippet" and then I look at... https://github.com/Integralist/dotfiles/blob/main/.snippets/go.lua ...and then I inevitably say to myself "f*** it, I'll do it later".
- do you have gcc mapped to some shortcut? if so, what? I find I use it all the time so 3 keypresses does not seem efficient when use is so frequent
- I refactored my lua structure and have lost some UI styling ?
- My status bar randomly disappears?
-
rust-analyzer autocmd error AND custom nvim-lint error with cargo check
I have both https://github.com/simrat39/rust-tools.nvim and https://github.com/mfussenegger/nvim-lint configured and I started noticing something that was working before had suddenly become broken, and it's not clear what changes I've made to my config (https://github.com/Integralist/dotfiles/tree/main/.config/nvim) that would have caused this error.
-
cmp is showing every possible suggestion for all LSPs?
My config can be found here: https://github.com/Integralist/dotfiles/tree/main/.config/nvim
What are some alternatives?
When comparing ultisnips_to_luasnip and dotfiles you can also consider the following projects:
snip-lookup.nvim
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
nvim - A non-minimal Neovim config built to work most efficiently with Frontend Development
sauce - A tool to help manage context/project specific shell-things like environment variables.
.dotfiles - my dotfiles over the years
neovim-rust - Sample neovim and vim configurations for Rust development
nvim - Neovim configuration
rust.vim - Vim configuration for Rust.
nvim-lspconfig - Quickstart configs for Nvim LSP
nvimdots.lua - Lazy AF neovim config, well structured in lua.
lazy.nvim - 💤 A modern plugin manager for Neovim