The simple module to autoload VS Code-like snippets on runtime path automatically.
If you are using lazy.nvim
return {
"ryoppippi/denippet-autoimport-vscode",
event = { "InsertEnter", "User DenopsReady" },
dependencies = {
"vim-denops/denops.vim",
"rafamadriz/friendly-snippets", -- your favorite VS Code-like snippet collection
},
}
That's it! This plugin loads your snippets automatically!
No additional configuration is required. The module automatically scans all runtime paths for VSCode snippet configurations and loads them accordingly.
After initialization, when you want to reload snipepts, run the following command:
:DenippetReloadVSCodeSnippet
This command ensures that all snippets are up-to-date and loaded into the active Denippet.
This project is licensed under the MIT License - see the LICENSE file for details.
This feature is inspired by a builtin function in LuaSnip