File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 44* ` NEW ` settings:
55 + ` workspace.supportScheme ` : ` ["file", "untitled", "git"] `
66 + ` diagnostics.disableScheme ` : ` ["git"] `
7+ * ` NEW ` folding: support folding ` ---@alias `
78* ` FIX ` hover: can not union ` table ` with other basic types
89* ` FIX ` [ #1125 ] ( https://github.com/sumneko/lua-language-server/issues/1125 )
910* ` FIX ` [ #1131 ] ( https://github.com/sumneko/lua-language-server/issues/1131 )
Original file line number Diff line number Diff line change @@ -143,6 +143,15 @@ local care = {
143143 }
144144 results [# results + 1 ] = folding
145145 end ,
146+ [' doc.alias' ] = function (source , text , results )
147+ local folding = {
148+ start = source .start ,
149+ finish = source .bindGroup [# source .bindGroup ].finish ,
150+ kind = ' comment' ,
151+ hideLastLine = true ,
152+ }
153+ results [# results + 1 ] = folding
154+ end
146155}
147156
148157--- @async
You can’t perform that action at this time.
0 commit comments