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:
Amir
2021-10-11 11:30:43 +02:00
parent 83980d8f24
commit 92c794cc2b
100 changed files with 3555 additions and 1631 deletions

View File

@ -274,7 +274,7 @@ snippet ja "Marshalable json alias"
}
snippet errwr "Error handling with errors.Wrap"
snippet errwr "Error handling with fmt.Errorf"
if ${1}err != nil {
return errors.Wrap(err, "${2}")
return fmt.Errorf("${2} %w", err)
}