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

merge to origin

This commit is contained in:
Tiande
2016-06-27 02:30:37 +08:00
parent 5ba4c775d9
commit 881ead4c17
113 changed files with 11333 additions and 3543 deletions

View File

@ -307,19 +307,17 @@ abbr if err != nil { t.Fatalf(...) }
}
# test example
snippet example
func Example${1:Method}() {
${0}
// Output:
}
endsnippet
func Example${1:Method}() {
${0}
// Output:
}
# test benchmark
snippet benchmark
func Benchmark${1:Method}(b *testing.B) {
for i := 0; i < b.N; i++ {
${0}
func Benchmark${1:Method}(b *testing.B) {
for i := 0; i < b.N; i++ {
${0}
}
}
}
endsnippet
# variable declaration
snippet var
abbr var x Type [= ...]