snippets.nvim
By norcalli
friendly-snippets
Set of preconfigured snippets for different languages. (by rafamadriz)
Our great sponsors
snippets.nvim | friendly-snippets | |
---|---|---|
4 | 41 | |
250 | 974 | |
- | - | |
0.0 | 8.1 | |
6 months ago | 6 days ago | |
Lua | ||
GNU General Public License v3.0 only | MIT License |
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.
snippets.nvim
Posts with mentions or reviews of snippets.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-22.
-
Which snippet plugin do you prefer? Moving out from ultinips, and pondering the existing choices.
Seems like vim-vsnip and snippets.nvim are popular to migrate into.
-
Which snippet plugin do you recommend?
I'm moving from coc.nvim to built-in LSP and thereby considering changing from UltiSnips to some other snippet plugin, preferably one written in Lua. I've found two different ones: snippets.nvim and LuaSnip. Is there anyone with more experience with either of them that can say whether they are mature enough yet to be used. Or do you recommend some other snippet plugin written in VimL?
-
How do people (with Lua based configs) manage their snippets?
The documentation of snippets.nvim feels nonexisting (only 1 wiki example), so you might just adapt this quite extensive snippets.
friendly-snippets
Posts with mentions or reviews of friendly-snippets.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
Multi-Line completion with nvim-cmp
For example Luasnip with (I guess) friendly-snippets has multi line snippets defined by default. And you can use luasnip with nvim-cmp (read the docs or I guess there’s a YouTube tutorial)
-
How to I find default snippets
I don't think it has? All my snippets are either from the language server or friendly-snippets, which is a plugin that comes with a bunch of them.
If you copied the config in the readme, then the snippet come from friendly-snippets.
-
[HELP] Configuring Vim-tex in NvChad config
ll is giving me these errors. Also in vim {{ would expand to \left{ \right}. It's not working with NeoVim. I'm using LuaSnip with friendly-snippets with the default config in NvChad.
-
Help with nvim-cmp and luasnip
As stated in LuaSnip docs, you need to install a snippets plugin, for example, https://github.com/rafamadriz/friendly-snippets
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
Here you don't need lsp-zero at all. Install luasnip and have it load the snippet collection you installed (I recommend friendly-snippets).
-
Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
friendly-snippets: coleção de snippets de várias linguagens e frameworks.
-
Are snippets supposed to be working for Omnisharp with lspconfig, nvim-cmp, and luasnip?
Ahh I see now sorry. It could be that you are missing actually the snippet source. See here: https://github.com/L3MON4D3/LuaSnip#add-snippets I am personally using vs code snippets provided by friendly-snippets
-
Terraform code snippets?
I recently have been playing around with code snippets for go and rust by using friendly snippets: https://github.com/rafamadriz/friendly-snippets
-
How can I create my own snippets with LuaSnip?
I use friendly snippets Plugin to create snippets: https://github.com/rafamadriz/friendly-snippets you yan then lazy load them: https://github.com/L3MON4D3/LuaSnip#add-snippets
What are some alternatives?
When comparing snippets.nvim and friendly-snippets you can also consider the following projects:
LuaSnip - Snippet Engine for Neovim written in Lua.
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
lspkind.nvim - vscode-like pictograms for neovim lsp completion items
cmp_luasnip - luasnip completion source for nvim-cmp
language-server-protocol - Defines a common protocol for language servers.
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-snippets - vim-snipmate default snippets (Previously snipmate-snippets)
coc - Chroniques Oubliées Contemporain
cmp-nvim-lsp - nvim-cmp source for neovim builtin LSP client