https://github.com/octaltree/virtualsnip
Snippets as virtualtext on neovim
https://github.com/octaltree/virtualsnip
neovim
Last synced: 3 months ago
JSON representation
Snippets as virtualtext on neovim
- Host: GitHub
- URL: https://github.com/octaltree/virtualsnip
- Owner: octaltree
- License: mit
- Created: 2021-06-07T11:45:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T15:26:07.000Z (about 3 years ago)
- Last Synced: 2024-10-18T08:16:58.111Z (9 months ago)
- Topics: neovim
- Language: Rust
- Homepage:
- Size: 80.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# virtualsnip
This plugin shows snippets as virtualtext on neovim.
## Requirements
* Neovim
* [vim-vsnip](https://github.com/hrsh7th/vim-vsnip)
- Use it as a library so you don't have to bind keys for snippets
* Some snippet sources for vim-vsnip## Installation
For dein.toml
```toml
[[plugins]]
repo = 'hrsh7th/vim-vsnip'
[[plugins]]
repo = 'octaltree/virtualsnip'
build = 'make'
on_event = 'InsertEnter' # if lazy
hook_add='''
let g:virtualsnip#enable_at_startup = v:true
let g:virtualsnip#sign = ' » '
let g:virtualsnip#highlight_base = 'Comment'
'''
```
For other plugin managers, please do the `make` yourself.