Wednesday, November 21, 2012

Re: Snippet for adding closing parentheses in ultisnips

2012-11-21 SirVer:

> snippet ( "Brackets" i
> (${VISUAL}$1)
> endsnippet

This basically works. But the expansion has to be triggered with
<Tab>. The code from my original posting does not need to be
expanded with <Tab>, the closing brace is added automatically when
the open brace is typed.

> I wish people would read the docs before asking on the internet.

I don't think that comment was necessary.


Marco


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment