-
-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Windows
What is the issue affecting?
Type Checking, Completion, Diagnostics/Syntax Checking, Hover, Libraries
Expected Behaviour
Be able to parse/load the lua workspace/environment as fast as versions 3.15.x, or faster ideally.
Actual Behaviour
Many seconds slower to load into lua files such as init.lua.
Reproduction steps
Install versions 3.16.0 or later, and open a lua file.
Additional Notes
my lua_ls config looks like this;
lua_ls = {
Lua = {
hint = {
semicolon = 'All'
},
runtime = {
version = 'LuaJIT',
path = {
'?.lua',
'?/init.lua'
},
pathStrict = true
},
workspace = {
checkThirdParty = false,
library = vim.api.nvim_get_runtime_file('', true)
},
telemetry = {
enable = false
}
}
}loading into init.lua for neovim has to scan ~1600 in the counter, and it takes at least 15 seconds on version 3.16.4, and only up to 4 seconds on 3.15.0.
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels