snippets.nvim
vim-snippets
Our great sponsors
snippets.nvim | vim-snippets | |
---|---|---|
4 | 17 | |
269 | 4,731 | |
- | - | |
0.0 | 6.4 | |
over 1 year ago | 20 days ago | |
Lua | Vim Snippet | |
GNU General Public License v3.0 only | MIT License |
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
-
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.
vim-snippets
- How to I find default snippets
-
JavaScript and CSS in HTML files
Also, I'm using vim-snipmate style snippets in LuaSnip. How can I import snippets in javascript.snippets in html.snippetswithout having to copy everything.
-
Can anybody give me some review of coq_nvim :>
cmp works fine and I was able to trivially make it only suggest lsp completion for me by only including lsp sources. The setup is significantly more complicated with having the install 7ish plugins instead of just 3 for coq. I don't think I would've had the patient to go through the setup when I was just starting to use neovim. cmp also have much nicer UI (e.g. it shoulds documentation and sometimes function signiture as you browse through the suggestion.) With snippet you can find something like https://github.com/honza/vim-snippets which have more than what I need. You also need to choose a snippet engine so that's more decision to make.
- Closing brackets are highlighted in red when in the init.vim file
-
Is There a Snippet Collection for LuaSnip?
Since LuaSnip also supports snipmate I'm using vim-snippets since it's offering a lot of snippets I'm using often without having to write my own. But as @eliizaak said: it's not Lua and perhaps I'll find the time and energy to learn a bit more about LuaSnip and write my own snippets ... ;)
-
Snippets
Does this include snippets apart from honza/vim-snippets?
It includes the snippets from honza/vim-snippets and my own snippets.
-
Multiple templates for same filetype?
vim-snippets as you've already mentioned.
-
Do Vim Snippets work in Obsidian?
Skimming over the blog post you linked, it appears that the author uses Vim plugins to get some of the snippets working, which I'm near-certain is impossible with the Vim features available to Obsidian. I don't think installing Vim plugins with vim-plug (as used by both myself and the author of the linked blog) is possible in Obsidian, for example. Without some way to manage installing Vim plugins, you won't be able to get plugins which enable vim snippets as used in the blog post.
-
[vimtex, vim-sandwich] How would you surround visual selected text with \emph{...} or \textbf{...} via a macro?
Sorry does it?
What are some alternatives?
LuaSnip - Snippet Engine for Neovim written in Lua.
obsidian-vimrc-support - A plugin for the Obsidian.md note-taking software
friendly-snippets - Set of preconfigured snippets for different languages.
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
emmet-vim - emmet for vim: http://emmet.io/
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
mu-template - Vim template-files expander
vim-mucomplete - Chained completion that works the way you want!
fzf.vim - fzf :heart: vim