From 4c988d2012a36ae57d83cefb03f9278d7d8493b8 Mon Sep 17 00:00:00 2001 From: Gustavo Chain Date: Wed, 26 Nov 2014 11:46:41 +0000 Subject: [PATCH] Add receiver to fum snippet --- snippets/go.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/go.snippets b/snippets/go.snippets index 8623eda..dafc6e4 100644 --- a/snippets/go.snippets +++ b/snippets/go.snippets @@ -148,8 +148,8 @@ snippet fun ${0} # function on receiver snippet fum - func (self ${1:type}) ${2:funcName}(${3}) ${4:error} { - ${5} + func (${1:receiver} ${2:type}) ${3:funcName}(${4}) ${5:error} { + ${6} } ${0} # log printf