summaryrefslogtreecommitdiff
path: root/server/src/parser/grammar.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-25 17:12:06 +0800
committersumneko <sumneko@hotmail.com>2019-04-25 17:12:06 +0800
commitf06ff4184d48f1f72a853d0d6652ae9c2cc6594d (patch)
tree395cca074ee6b5f80f607c5e8f8640dbf66ebf7c /server/src/parser/grammar.lua
parent669e20ef2cdfa8d7763f7e7bcd405986e665e526 (diff)
downloadlua-language-server-f06ff4184d48f1f72a853d0d6652ae9c2cc6594d.zip
param的自动完成
Diffstat (limited to 'server/src/parser/grammar.lua')
-rw-r--r--server/src/parser/grammar.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua
index e7957535..03e14776 100644
--- a/server/src/parser/grammar.lua
+++ b/server/src/parser/grammar.lua
@@ -554,9 +554,9 @@ EmmyTypeName <- EmmyFunctionType
/ MustEmmyName
EmmyTypeEnums <- %s* '|' %s* String
-EmmyAlias <- MustEmmyName %s+ EmmyType EmmyTypeEnums*
+EmmyAlias <- MustEmmyName %s* EmmyType EmmyTypeEnums*
-EmmyParam <- MustEmmyName %s+ EmmyType EmmyTypeEnums*
+EmmyParam <- MustEmmyName %s* EmmyType EmmyTypeEnums*
EmmyReturn <- EmmyType