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

Replace YanRing with yank-stack and update plugins

This commit is contained in:
amix
2017-12-13 15:05:24 +01:00
parent 2ca843a22a
commit 53894de44b
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("{{++}}", {{++}})