diff options
author | Crollie Rollz <crollierollz@gmail.com> | 2022-04-03 03:48:16 +0800 |
---|---|---|
committer | Crollie Rollz <crollierollz@gmail.com> | 2022-04-03 03:48:56 +0800 |
commit | 0173906aec91baa04cd1c8fcbdd2c4da0a058240 (patch) | |
tree | 4adb90fc06a6bc3b5085f6ceb965a06c937dbd2f /script/core | |
parent | cd032f35f1922c663b0a67c41adee4996d5cb858 (diff) | |
download | lua-language-server-0173906aec91baa04cd1c8fcbdd2c4da0a058240.zip |
fix formatting
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/completion/completion.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua index e960af15..30df047c 100644 --- a/script/core/completion/completion.lua +++ b/script/core/completion/completion.lua @@ -1396,11 +1396,11 @@ local function getCallEnumsAndFuncs(source, index, oop, call) local eventName = noder.getFieldEventName(doc) if eventName then if indexType == 1 then - results[#results+1] = { - label = ('%q'):format(eventName), - description = doc.comment, - kind = define.CompletionItemKind.EnumMember, - } + results[#results+1] = { + label = ('%q'):format(eventName), + description = doc.comment, + kind = define.CompletionItemKind.EnumMember, + } elseif indexType == 2 then if eventName == valueBeforeIndex then local docFunc = doc.extends.types[1].args[index].extends.types[1] |