1
0
mirror of https://github.com/amix/vimrc synced 2025-07-06 16:05:01 +08:00

Revert "Merge from original repo"

This commit is contained in:
Jaeguk Hyun
2022-09-25 19:10:28 +09:00
committed by GitHub
parent 00c59fa5e1
commit 1d193551ef
122 changed files with 371 additions and 5171 deletions

View File

@ -33,7 +33,7 @@ snippet eif
}
# Conditional One-line
snippet xif
${1} if $2;
${1:expression} if ${2:condition};
# Unless conditional
snippet unless
unless ${1} {
@ -41,14 +41,14 @@ snippet unless
}
# Unless conditional One-line
snippet xunless
${1} unless $2;
${1:expression} unless ${2:condition};
# Ternary conditional
snippet tc
$1 ?? ${2:value-if-true} !! ${3:value-if-false};
${1:condition} ?? ${2:value-if-true} !! ${3:value-if-false};
# given - when (perl6 switch)
snippet switch
given ${1:$var} {
when $2 {
when ${2:condition} {
${3:# code block ...}
}
${4}