Comment 10 for bug 1171276

Revision history for this message
Zhao Cai (caizhaoff) wrote :

I think UltiSnips is top of the class too.

I think we can add extra () after r in the 4th column for the completion word. How do you think?

```snippet
snippet "(\S+)\.Del(ete)?_?if" ".delete_if { |<key>,<value>| <block> }" r(Delete)
`!p snip.rv=match.group(1)`.delete_if { |${1:key},${2:value}| ${3:# TODO} }
endsnippet
```