lua-language-server
lua-language-server copied to clipboard
A language server that offers Lua language support - programmed in Lua
**Describe the bug** I installed the plugin from OpenVSX (via the Extensions sidebar in VSCodium) and it didn't launch. I go into `~/.vscode-oss/extensions/sumneko.lua-3.2.0/server/bin` and found that there was an exec...
Given such a folder structure: ``` . └── module ├── init.lua └── submodule └── init.lua ``` Now in `module/init.lua` i would like to import submodule. Currently it only works if...
**Describe the bug** The change in 3.2.3 to ignore files in junctions and other forms of symlinks entirely did fix a mildly annoying issue when editing files behind them... at...
When setting an overload for some function with different returns, the suggested returns are always the sum of all possible returns no matter the used overload used. For example: ...
Currently, the only way to document generic functions is to use `@generic`. and it's not possible to use them in overloads or fields. The following examples are invalid: ```lua ---@generic...
**Describe the bug** I'm writing a map function, but type inference doesn't work for it. Specifically, when you have `map(list, fn)` where `fn` is `fun(item: A): B`, the type inference...
**Describe the bug** `luv -v`: `LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2022 Mike Pall. https://luajit.org/` ```lua local A = {} function A.sync(executor) local env = getfenv(executor) env.await = A.wait -- .........
# Introduce I'm working on the 3.X version, the purpose is to add a more complete type system, and use this to implement features such as type checking. In previous...
Hi, Due to the error (overloaded `_ENV`), I am getting a lot of undefined variables in my code. However, I have everything under control, and have identified _G as a...
I'd love it if we were able to use version markers for 3rd party libraries. OpenResty annotations would benefit from this. ## annotation example ```lua ---@meta local lib = {}...