Open
Description
How are you using the lua-language-server?
Command Line
Which OS are you using?
Windows
What is the issue affecting?
Other
Expected Behaviour
I expect to have only annotations defined with the lua file/directory be generated as docs
Actual Behaviour
The whole _G table is being generated as docs
Reproduction steps
Create a file test.lua
with the contents of
---@class Car
---@field color table<number, number>
---@field engine string
local car = {
color = { 255, 0, 0 },
engine = "V8",
}
Run the command: ./lua-language-server.exe --doc "./test.lua" --doc_out_path .
Additional Notes
I am using lua-language-server-3.13.2-win32-x64 that I downloaded on github from the releases file
Log File
file_c%3A_Users_test1_Desktop_lua-language-server-3.13.2-win32-x64_bin_test.lua.log
Metadata
Metadata
Assignees
Labels
No labels