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

Updated plugins

This commit is contained in:
amix
2015-02-04 10:43:54 +00:00
parent e7a01094b6
commit a4b4587019
71 changed files with 2076 additions and 1112 deletions

View File

@ -10,8 +10,9 @@ endsnippet
# anonymous function
snippet anon "fn := func() { ... }"
${1:fn} := func() {
${0}
${2:${VISUAL}}
}
${0}
endsnippet
# append
@ -192,7 +193,7 @@ endsnippet
# Fmt Printf debug
snippet ff "fmt.Printf(...)"
fmt.Printf("${1} = %+v\n", $1)
fmt.Printf("${1:${VISUAL}} = %+v\n", $1)
endsnippet
# Fmt Println debug
@ -294,8 +295,9 @@ endsnippet
# goroutine anonymous function
snippet gof "go func() { ... }()"
go func() {
${1}
${1:${VISUAL}}
}()
${0}
endsnippet
# test function