1
0
mirror of https://github.com/amix/vimrc synced 2025-07-08 18:04:59 +08:00

Replace YanRing with yank-stack and update plugins

This commit is contained in:
amix
2017-12-13 15:05:24 +01:00
committed by Huaishun Hu
parent 1d0fef966b
commit 29bab2d6c3
72 changed files with 1663 additions and 5015 deletions

View File

@ -0,0 +1,3 @@
if !reflect.DeepEqual({{+got+}}, {{+want+}}) {
t.Errorf("\ngot: %#v\nwant: %#v\n", {{+~\~2+}}, {{+~\~2+}})
}

View File

@ -0,0 +1,3 @@
if err != nil {
return {{+err+}}
}

View File

@ -0,0 +1,4 @@
if err != nil {
t.Fatal(err)
}
{{++}}

View File

@ -0,0 +1,3 @@
if err != nil {
return errors.Wrap(err, "{{++}}")
}

View File

@ -0,0 +1,3 @@
// {{++}}
func {{+~\~1+}}() {
}

View File

@ -0,0 +1 @@
fmt.Printf("%#v\n", {{++}})

View File

@ -0,0 +1,3 @@
for i := 0; i < {{++}}; i++ {
{{++}}
}

View File

@ -0,0 +1,2 @@
// Package {{+~expand('%:p:h:t')+}} {{++}}
package {{+~\~2+}}

View File

@ -0,0 +1,2 @@
fmt.Sprintf("{{++}}", {{++}})