lua-language-server
lua-language-server copied to clipboard
A language server that offers Lua language support - programmed in Lua
### How are you using the lua-language-server? NeoVim ### Which OS are you using? Windows WSL ### What is the issue affecting? Completion ### Expected Behaviour 想使用自动require配置类,发现nvim不会提供补全,vscode可以  配置类都形如 ```...
Functions in Lua 5.1 (and LuaJIT) can only reference up to 60 upvalues. For example, the following code does not compile in Lua 5.1 ("lua5.1: upvals.lua:4: function at line 3...
[Here](https://github.com/LuaLS/lua-language-server/blob/e930179bbd6b3eb26721a676303e0e27cdb29290/script/workspace/workspace.lua#L181) we handle `Lua.workspace.library`, but unlike the other paths, we index `debug` (the global) and add to it, instead of `pattern`. This looks like it is almost definitely a typo.
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? Windows ### What is the issue affecting? Annotations ### Expected Behaviour 当一个类通过@overload定义了__call元方法。...
### How are you using the lua-language-server? Other ### Which OS are you using? Windows ### What is the issue affecting? Other ### Expected Behaviour No folder name duplication ###...
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? Linux ### What is the issue affecting? Diagnostics/Syntax Checking ### Expected Behaviour...
So I have this very strange bug where the VSCode extension starts reporting undefined-globals but when I click on the actual problem report, it goes away. These globals are defined...
It would be great if I can override fields, not just shadow them, to retain their signature and doc. ```lua ---@class (exact) A local a = {} ---Test Comment ---@param...
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? Windows ### What is the issue affecting? Other ### Expected Behaviour ---@alias...
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? Windows ### What is the issue affecting? Annotations ### Expected Behaviour I'm...