Like someone noted in the vimtex issue you linked, I use UltiSnips together with snippet definitions from vim-snippets, which works pretty well with the begin
snippet. vim-snippets
includes a bunch more snippets too which I find quite useful, particularly for LaTeX. I don't know the vsnip
plugins you mentioned but they can probably do the same.
this post was submitted on 11 Mar 2024
1 points (100.0% liked)
Neovim
2161 readers
1 users here now
founded 1 year ago
MODERATORS
I ended up setting up UltiSnips and using the snippet given in the issue.
This snippet is available using "rafamadriz/friendly-snippets" plugin for Neovim, the snippet system enables me to write begin
then it completes to the exact block you described.