An open API service indexing awesome lists of open source software.

https://github.com/ryoppippi/denippet-autoimport-vscode

The simple module to autoload VS Code-like snippets on runtime path automatically.
https://github.com/ryoppippi/denippet-autoimport-vscode

denippet deno denops neovim neovim-plugin snippet vim vim-plugin

Last synced: about 2 months ago
JSON representation

The simple module to autoload VS Code-like snippets on runtime path automatically.

Awesome Lists containing this project

README

          

# denippet-autoimport-vscode

The simple module to autoload VS Code-like snippets on runtime path automatically.

## Requirements

- [Denippet.vim](https://github.com/uga-rosa/denippet.vim)
- [Denops.vim](https://github.com/vim-denops/denops.vim)

## Features

## Installation

If you are using lazy.nvim

```lua
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!

## Configuration

No additional configuration is required. The module automatically scans all runtime paths for VSCode snippet configurations and loads them accordingly.

### Commands

After initialization, when you want to reload snipepts, run the following command:

```vim
:DenippetReloadVSCodeSnippet
```

This command ensures that all snippets are up-to-date and loaded into the active Denippet.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Inspired

This feature is inspired by a builtin function in [LuaSnip](https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#add-snippets)