summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/folding_range.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/core/folding_range.lua b/server/src/core/folding_range.lua
index db0b0bdf..e94d1ffe 100644
--- a/server/src/core/folding_range.lua
+++ b/server/src/core/folding_range.lua
@@ -8,6 +8,7 @@ local foldingType = {
['while'] = {'region', 'end', },
['repeat'] = {'region', 'until',},
['table'] = {'region', '}', },
+ ['string'] = {'regtion', ']', },
}
return function (vm, comments)
@@ -42,6 +43,12 @@ return function (vm, comments)
kind = data[1],
}
end
+ elseif tp == 'string' then
+ result[#result+1] = {
+ start = start,
+ finish = finish,
+ kind = data[1],
+ }
elseif data[1] == 'region' then
result[#result+1] = {
start = start,