Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 732 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 732 Bytes

virtualsnip

This plugin shows snippets as virtualtext on neovim.

gif

Requirements

  • Neovim
  • 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

[[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.