mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user