Open itaranto opened 1 month ago
Can confirm this on windows vscode too 🤔
.luarc.json
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"runtime.version": "LuaJIT"
}
test.lua
and open itlua5.4
and luajit
built-in meta filesprint
), luals will displays both definitions from lua5.4
and luajit
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Completion
Expected Behaviour
It should look up definitions for LuaJIT (Lua 5.1).
Actual Behaviour
It looks up definitions for Lua 5.4.
Reproduction steps
.luarc.json
in a project:.lua
fileAdditional Notes
I'm using Neovim v0.10.1 with the native LSP.
I can reproduce this with a very simple config (no settings):
One important thing to mention is that other settings like
diagnostics
are properly applied.Log File
file_home_ignacio_devel_projects_plantuml.nvim.log