summaryrefslogtreecommitdiff
path: root/server/src/core/snippet.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/snippet.lua')
-rw-r--r--server/src/core/snippet.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/server/src/core/snippet.lua b/server/src/core/snippet.lua
index a4458788..7532ce9b 100644
--- a/server/src/core/snippet.lua
+++ b/server/src/core/snippet.lua
@@ -33,13 +33,8 @@ for ${1:i} = ${2:1}, ${3:10, 2} do
$0
end]]
-add('key', 'function', 'function name()') [[
-function ${1:name}(${2:arg1, arg2, arg3})
- $0
-end]]
-
add('key', 'function', 'function ()') [[
-function (${1:arg1, arg2, arg3})
+function $1(${2:arg1, arg2, arg3})
$0
end]]