Snippetsλ︎
LuaSnip can use several different sources for snippets
- VSCode JSON snippets (Friendly-snippets)
- LSP style snippets
LuaSnip Configuration
Practicalli Neovim Config Redux includes the LuaSnip package which also adds friendly-snippets and cmp_luasnip.
Configure LSP snippet locationsSnippet Definitionsλ︎
snippets
directory contains snippet definitions, with a JSON file for each language, e.g. markdown.json
Practicalli Neovim Config Redux contains several groups of snippet definitions
- MkDocs format and icons (
markdown.json
VSCode syntax)
Restart Neovim to load new defintions
Snippets added to VSCode JSON snippets are only loaded when Neovim starts, so newly added snippets will only be available after Neovim is restarted.