summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-21 03:23:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-21 03:23:37 +0800
commit0f0ebf434687ac3b085aa0a58d7d87f65f715464 (patch)
tree660c052794f028d9e606029854449f08b91b52e1 /script/parser/guide.lua
parent6f3d539072512feb34d9d759f8b2adb09733fbdc (diff)
downloadlua-language-server-0f0ebf434687ac3b085aa0a58d7d87f65f715464.zip
runner step
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 906a9926..f15e6e72 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -56,6 +56,7 @@ local type = type
---@field init parser.object
---@field step parser.object
---@field redundant { max: integer, passed: integer }
+---@field filter parser.object
---@field _root parser.object
---@class guide
@@ -71,6 +72,7 @@ local blockTypes = {
['repeat'] = true,
['do'] = true,
['function'] = true,
+ ['if'] = true,
['ifblock'] = true,
['elseblock'] = true,
['elseifblock'] = true,