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

Updated plugins. Added vim-golang as a mode

This commit is contained in:
amix
2014-03-11 21:10:50 +01:00
parent 2b82c75631
commit 8f0740e307
125 changed files with 4121 additions and 2440 deletions

View File

@ -1,3 +1,5 @@
priority -50
###########################################################################
# TEXTMATE SNIPPETS #
###########################################################################
@ -16,14 +18,14 @@ foreach ${1:var} ${2:\$list} {
endsnippet
snippet if "if... (if)" b
if {${1}} {
if {${1:condition}} {
${2}
}
endsnippet
snippet proc "proc... (proc)" b
proc ${1} {${2}} \
proc ${1:name} {${2:args}} \
{
${3}
}
@ -40,8 +42,8 @@ switch ${1:-exact} -- ${2:\$var} {
endsnippet
snippet wh "while... (while)" b
while {${1}} {
snippet while "while... (while)" b
while {${1:condition}} {
${2}
}