diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-25 17:12:06 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-25 17:12:06 +0800 |
commit | f06ff4184d48f1f72a853d0d6652ae9c2cc6594d (patch) | |
tree | 395cca074ee6b5f80f607c5e8f8640dbf66ebf7c /server/src/parser/grammar.lua | |
parent | 669e20ef2cdfa8d7763f7e7bcd405986e665e526 (diff) | |
download | lua-language-server-f06ff4184d48f1f72a853d0d6652ae9c2cc6594d.zip |
param的自动完成
Diffstat (limited to 'server/src/parser/grammar.lua')
-rw-r--r-- | server/src/parser/grammar.lua | 4 |
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 |