lua-language-server
lua-language-server copied to clipboard
A language server that offers Lua language support - programmed in Lua
One really nice feature of the lua-lsp is that by typing `---` above a function, we get the `@param;@return` suggestions which auto-inserts function annotation. Would it be possible to make...
By "function type" I'm referring to the `fun(param:type):return` syntax, when used in a `@type`, `@param`, or `@overload` annotation. What I would like to do is to give a description for...
### How are you using the lua-language-server? NeoVim ### Which OS are you using? Linux ### What is the issue affecting? Type Checking ### Expected Behaviour ```lua ---@alias SomeUnion ---...
### 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? Type Checking ### Expected Behaviour...
### 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? Type Checking, Diagnostics/Syntax Checking ###...
I'm going to do some work for global variable distinguishing environments. At present, my idea is as follows: ```lua ---@global global -- the table will be merged into current globals....
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? MacOS ### What is the issue affecting? Annotations, Type Checking ### Expected...
### Discussed in https://github.com/LuaLS/lua-language-server/discussions/2471 Originally posted by **Luke100000** January 8, 2024 Why can it not infer the type here? How would I rewrite this to be type conform, without spamming...
关于泛型函数
### 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? Type Checking ### Expected Behaviour...
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? MacOS ### What is the issue affecting? Annotations, Type Checking, Libraries ###...