fixes, add link to discussion page

This commit is contained in:
Marc Weber 2013-06-23 13:31:33 +02:00
parent 344ac6ea2c
commit 9ffd166a55
3 changed files with 11 additions and 3 deletions

View File

@ -87,6 +87,12 @@ get vim-dev plugin which has function completion
Thus for conditions (while, if ..) and block bodies just use ${N} - Thanks
Open questions:
What about one line if ee then .. else .. vs if \n .. then \n ... \n else \n .. ?
What about wh(ile), which trigger?
Discuss at: https://github.com/honza/vim-snippets/issues/230
Related repositories
====================
We also encourage people to maintain sets of snippets for particular use cases

View File

@ -164,6 +164,8 @@ snippet atp
attr_protected :${1:attr_names}
snippet ata
attr_accessible :${1:attr_names}
# ivc == instance variable cache
snippet ivc
@${1:variable_name} ||= ${2:chached_value}
# include Enumerable

View File

@ -23,9 +23,9 @@ snippet for
${3}
endfor
snippet forkv
for [a,b] in items({2})
${3}
unlet a b
for [${1},${2}] in items(${3})
${4}
unlet $1 $2
endfor
snippet wh