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? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? Windows WSL ### What is the issue affecting? Spell Checking ### Expected...
I'm trying to add annotations to [classic](https://github.com/rxi/classic/blob/master/classic.lua), but encounter a few problems when doing so. For example, the `super` field refers to the superclass. If I were to annotate super...
Additional blank lines are added to parameter descriptions in type annotations
### How are you using the lua-language-server? NeoVim ### Which OS are you using? MacOS ### What is the issue affecting? Hover ### Expected Behaviour For multiline descriptions in `@param`...
### How are you using the lua-language-server? NeoVim ### Which OS are you using? Linux ### What is the issue affecting? Other ### Expected Behaviour Global settings from the client...
How to implement automatic derivation of function parameter types
```lua local function t(a) a? --unkown end t({A=1}) ``` This feature is not available in the current language server. I would like to add it as a feature and have...
Unable to turn off continuous align
### 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? Formatting ### Expected Behaviour ```lua...
Type warning when calling os.time with a table
### 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...
[Feature request] User defined type guards like TypeScript's one
As a simple example, I would like to annotate the following `@guard x string`. This is in effect returning a boolean, which narrows down the type of the argument x....
No warning when assign constant `nil` to required table field
### 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...
#1861 This feature request requests variadic generics functionality, as well as mapping those generics. My proposed implementation of this feature request would allow the following example syntax: ```lua ---@generic R,...