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