lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

A language server that offers Lua language support - programmed in Lua

Results 496 lua-language-server issues
Sort by recently updated
recently updated
newest added

### How are you using the lua-language-server? NeoVim ### Which OS are you using? MacOS ### What is the issue affecting? Other ### Expected Behaviour The language server starts normally....

Hello, I am trying to implement [teal](https://github.com/teal-language/tl) support for the language server using the plugin feature, but this is extremely difficult mainly due to the primitiveness of lua's pattern matching...

### 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? Completion ### Expected Behaviour In...

### 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? Diagnostics/Syntax Checking ### Expected Behaviour...

enhancement

如下定义,然后` return nil, 'some error'`不会有波浪线提示错误 ``` ---@return string, number ---@overload fun(): nil, string local function foo11() do return 'foo', 1 end do return nil, 'some error' end end ``` 讨论见:...

enhancement
type check

两个方案,大佬参考: 方案一采用语法`@return ()|()|()`这种 ``` ---@return (string,number)|(nil, string) local function foo() do return 'foo', 1 --正常 end do return nil, 'some error' --正常 end do return nil, 1 -- 此处出错 end...

enhancement

### 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? Completion ### Expected Behaviour ![expected](https://user-images.githubusercontent.com/46263989/191496601-0888813d-ef95-4fcd-b3da-8d51ce23944d.png)...

### 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? Completion ### Expected Behaviour When...

bug

### 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? Type Checking, Completion, Libraries ###...

question

### 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, Completion ### Expected...

as designed