Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octaltree/virtualsnip
Snippets as virtualtext on neovim
https://github.com/octaltree/virtualsnip
neovim
Last synced: about 1 month 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T15:26:07.000Z (over 2 years ago)
- Last Synced: 2024-10-07T14:35:30.407Z (about 1 month 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.![gif](https://user-images.githubusercontent.com/7942952/122072863-eaecb480-ce32-11eb-9ad5-3f2295b477be.gif)
## 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.