neoclide / coc-vimtex

vimtex integration for coc.nvim
130 stars 4 forks source link

Snippet doesn't work #14

Closed FelipeMarcelino closed 4 years ago

FelipeMarcelino commented 4 years ago

The autocomplete is working using coc-vimtex. However, the snippets don't work. It is the expected behavior?

chemzqm commented 4 years ago

Please explain snippets don't work

FelipeMarcelino commented 4 years ago

When I type \begin for example, the expected behavior is to expand the snippet to this:

snippet begin \begin{} ... \end{} block \begin{${1:env}} ${0:${VISUAL}} \end{$1}

https://github.com/honza/vim-snippets/blob/master/snippets/tex.snippets

But, it doesn't work as expected. Expand snippet option apparently doesn't appear. @chemzqm

chemzqm commented 4 years ago

coc-vimtex does completion from vimtex only, no support for snippet.

FelipeMarcelino commented 4 years ago

Ok, my apologies. I will take a look into vim-snippets!