dcampos / deoplete-snipmate

A deoplete source for snipmate snippets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deoplete-snipmate

A deoplete source for snipmate snippets.

Overview

A Deoplete source for SnipMate.

It also supports expanding snippets present in completion items provided by some LSP servers. For this to work, a compatible client should be used, like Neovim's built-in client or vim-lsp. See also deoplete-vim-lsp and deoplete-lsp, but you can even use this feature without using deoplete.

Installation

Use your favorite plugin manager.

To install it with vim-plug, first install Deoplete, then add this to your vimrc:

Plug 'dcampos/deoplete-snipmate'

Usage

To have snippets expanded after completion without the need to press Tab or whichever key you use to expand snippets normally, you may set up an autocmd for expanding it automatically:

augroup vimrc
    autocmd!
    autocmd vimrc CompleteDone * call deoplete#snipmate#try_expand()
augroup END

About

A deoplete source for snipmate snippets.


Languages

Language:Vim Script 50.9%Language:Python 49.1%