summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-10 21:11:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-10 21:11:16 +0800
commit72954de6b303866cbdbab25c0f4e8c00b9dfbe2b (patch)
tree94154650fb262e9453636445004b2fb3f69e3720 /script/parser/guide.lua
parent5addb4269a201e8a33479dce236adf8a38a37391 (diff)
downloadlua-language-server-72954de6b303866cbdbab25c0f4e8c00b9dfbe2b.zip
update
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 9c7f057d..258d8cdc 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -96,7 +96,7 @@ local childMap = {
['repeat'] = {'#', 'filter'},
['while'] = {'filter', '#'},
['in'] = {'keys', 'exps', '#'},
- ['loop'] = {'loc', 'max', 'step', '#'},
+ ['loop'] = {'loc', 'init', 'max', 'step', '#'},
['if'] = {'#'},
['ifblock'] = {'filter', '#'},
['elseifblock'] = {'filter', '#'},