调整格式

pull/21/head
skywind3000 7 years ago
parent 167396d7e2
commit be0922c2ab

@ -149,6 +149,8 @@ false
## If, For, While, and Try/Catch
条件判断:
```VimL
if <expression>
...
@ -157,12 +159,19 @@ elseif <expression>
else
...
endif
```
循环:
```VimL
for <var> in <list>
continue
break
endfor
```
复杂循环:
```VimL
for [var1, var2] in [[1, 2], [3, 4]]
" on 1st loop, var1 = 1 and var2 = 2
@ -170,11 +179,15 @@ for [var1, var2] in [[1, 2], [3, 4]]
endfor
```
While 循环:
```VimL
while <expression>
endwhile
```
异常捕获:
```VimL
try
...

Loading…
Cancel
Save