mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -151,6 +151,14 @@ if err != nil {
|
||||
${0}
|
||||
endsnippet
|
||||
|
||||
# error log snippet
|
||||
snippet errl "Error with log.Fatal(err)" !b
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
${0}
|
||||
endsnippet
|
||||
|
||||
# error multiple return
|
||||
snippet errn, "Error return with two return values" !b
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user