We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5275a75 + d5135ab commit 06943cfCopy full SHA for 06943cf
changelog.md
@@ -2,6 +2,7 @@
2
3
## Unreleased
4
<!-- Add all new changes here. They will be moved under a version at release -->
5
+* `FIX` Don't truncate any output when running in `--doc` mode [#3049](https://github.com/LuaLS/lua-language-server/issues/3049)
6
* `CHG` [#3014] Generic pattern now supports definition after capture and optional, union, array
7
```lua
8
---@generic T
script/vm/infer.lua
@@ -473,7 +473,8 @@ function mt:view(uri, default)
473
end
474
475
476
- if #view > 200 then
+ -- do not truncate if exporting doc
477
+ if not DOC and #view > 200 then
478
view = view:sub(1, 180) .. '...(too long)...' .. view:sub(-10)
479
480
0 commit comments