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

**Describe the bug** Nested table are keys not suggested in different scope **To Reproduce** ![image](https://user-images.githubusercontent.com/9166042/165480206-cd046517-5d2f-48c1-81cc-920050539d8b.png) **Expected behavior** `self.table.a` should be suggested

enhancement

**Feature request** I'd want a way to define the size of arrays. I propose the following: ```Lua ---@type string[3] local arr = {} ```

enhancement
EmmyLua

Allow the ability to specify a default value for optional params. Example: ```lua --- @param a number --- @param b=[32] number --- @param c=[' '] string --- @param d=[] any...

enhancement
feat/LuaCats Annotations

Below, I have a generic list that uses fluid interface to return itself for some methods: ```lua --- @class List local List = {} --- @generic T : List, V,...

enhancement
EmmyLua

**Describe the bug** https://github.com/sumneko/lua-language-server/blob/f760dc359b389c20a0d48bef463d14800e67894c/script/core/formatting.lua#L5-L25 As a server, we should diff the document and the return result and generate the edits for the client. If the server returns totally text result,...

enhancement
formatter

I have a problem when concerning the [lpeg library](http://www.inf.puc-rio.br/~roberto/lpeg/). The [re module](http://www.inf.puc-rio.br/~roberto/lpeg/re.html) has a conditional `if` that defines re globally if and only if the version is Lua 5.1. However...

enhancement

![image](https://user-images.githubusercontent.com/8649540/127449653-90892662-286c-4727-8d29-eca2079d27ac.png) ---@field xxx table

bug
EmmyLua
priority.low

**Describe the bug** No argument typing for the function declaration **Screenshots** In v2.5.1 ![Screenshot_1](https://user-images.githubusercontent.com/69015205/150413287-dc3f5db8-889a-4de5-8eb3-bdf56585ef82.png) In v2.6.0 ![Screenshot_2](https://user-images.githubusercontent.com/69015205/150414076-d2beb6ee-5f35-4f5c-afe1-81cc97227c57.png) PS: no semantic coloring for parameters **Environment :** - OS: Windows - Client:...

enhancement
EmmyLua

Some Lua based domain specific languages use an extended character set for identifiers, this is easily achieved by modifying e.g. alnum in luaconf.h, similar in LuaJIT and also is adjustable...

enhancement

Can I exclude all variables that start with `g_` from the lowercase warning. If yes, then how do I do that?

enhancement