Description
coc-snippets is a snippet extension for coc.nvim, the completion engine for Vim and Neovim. It loads snippets from several formats: UltiSnips, snipMate and VS Code snippets, including those from coc.nvim extensions, custom directories and a project's .vscode folder. It can also load snippets from a running massCode app, which is disabled by default. Snippets appear as completion items, and it provides keymaps to expand a snippet or expand and jump to the next placeholder. You can list snippets with CocList and use a command to edit user snippets for the current filetype. The plugin focuses on nested snippet support, asynchronous operation that does not slow the editor, and previews of the snippet in a floating window or popup. Some UltiSnips and snipMate features are not supported. The UltiSnips provider needs Python support in your editor. The README says Neovim 0.4 or Vim 8 is needed for snippet previews. The project is open source on GitHub.…
Highlights
- Loads UltiSnips, snipMate and VS Code snippets
- Snippets offered as completion items
- Expand and jump keymaps
- Nested snippet support
- Edit snippets with CocList
Ratings & Reviews
No ratings yet
Be the first to rate Coc Snippets.
People also visit
Coc Snippets FAQ
What is coc-snippets?
A snippets plugin for coc.nvim that adds snippet completion and expansion to Vim and Neovim.
Which snippet formats work?
UltiSnips, snipMate and VS Code snippets, from coc.nvim extensions, custom directories and .vscode folders. Some UltiSnips and snipMate features are not supported.
Does it need Python?
Only for UltiSnips snippets. The UltiSnips provider needs Python support in Vim or Neovim, and the README explains how to check for it.
How do I install it?
Follow the Install section of its GitHub README. Snippet previews need Neovim 0.4 or a recent Vim 8.
Is it free?
Yes. It is open source and hosted on GitHub.
What are the best Coc Snippets alternatives?
Popular alternatives to Coc Snippets include LuaSnip, Luasnip-latex-snippets.nvim and Simple Completion Language Server. See all Coc Snippets alternatives






