honza/vim-snippets

the "pac" in tex.snippets is reduplicative

hanqing0521 opened this issue · 3 comments

There are two "pac" for tex snippets to expand \package[]{}

vim-snippets/UltiSnips/tex.snippets:424)
vim-snippets/UltiSnips/tex.snippets:449)

In commit 457362e the message states that the more verbose of the two (the one with the regex stuff) it removes the square brackets entirely if options is backspaced. I propose adding a comment explaining this right next to it then removing the other.

Can this issue be safely closed?

OK, thanks! It works well.