mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Forgot to check in the rest of the updated plugins :/
This commit is contained in:
@ -66,8 +66,8 @@ snippet elif
|
||||
snippet ifi
|
||||
if(${1:true}) ${0};
|
||||
# ternary
|
||||
snippet t
|
||||
${1:/* condition */} ? ${2:a} : ${3:b}
|
||||
snippet t Ternary: `condition ? true : false`
|
||||
$1 ? $2 : $0
|
||||
# switch
|
||||
snippet switch
|
||||
switch(${1:/* variable */})
|
||||
@ -115,7 +115,7 @@ snippet forr
|
||||
}
|
||||
# while
|
||||
snippet wh
|
||||
while(${1:/* condition */})
|
||||
while($1)
|
||||
{
|
||||
${0:${VISUAL}}
|
||||
}
|
||||
@ -123,7 +123,7 @@ snippet wh
|
||||
snippet do
|
||||
do{
|
||||
${0:${VISUAL}}
|
||||
}while (${1:/* condition */});
|
||||
}while ($1);
|
||||
##
|
||||
## Functions
|
||||
# function definition
|
||||
|
Reference in New Issue
Block a user