summaryrefslogtreecommitdiff
path: root/script/core/folding.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/folding.lua')
-rw-r--r--script/core/folding.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/script/core/folding.lua b/script/core/folding.lua
index 4f93aed9..6154ba72 100644
--- a/script/core/folding.lua
+++ b/script/core/folding.lua
@@ -143,6 +143,15 @@ local care = {
}
results[#results+1] = folding
end,
+ ['doc.alias'] = function (source, text, results)
+ local folding = {
+ start = source.start,
+ finish = source.bindGroup[#source.bindGroup].finish,
+ kind = 'comment',
+ hideLastLine = true,
+ }
+ results[#results+1] = folding
+ end
}
---@async