Closed
Description
How are you using the lua-language-server?
Command Line
Which OS are you using?
Windows WSL
What is the issue affecting?
Other
Expected Behaviour
The specified config file should be used.
Actual Behaviour
The specified config is ignored, meaning that runtime.builtin
cannot be customized for export. See #2977 (comment)
Reproduction steps
.luarc.docs.json
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"runtime.version": "Lua 5.1",
"runtime.builtin": {
"basic": "disable",
"bit": "disable",
"bit32": "disable",
"builtin": "disable",
"coroutine": "disable",
"debug": "disable",
"ffi": "disable",
"io": "disable",
"jit": "disable",
"math": "disable",
"os": "disable",
"package": "disable",
"string": "disable",
"table": "disable",
"table.clear": "disable",
"table.new": "disable",
"utf8": "disable"
}
}
lua-language-server --configpath .luarc.doc.json --doc ../.. --doc_out_path _data
See that builtins are included in doc output, despite being disabled in specified config file.
Additional Notes
Actually built-ins should not be included regardless: #2977
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels