You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
This plugin changes the default of Lua.runtime.path from { "?.lua", "?/init.lua", "?/?.lua" } to { "lua/?.lua", "lua/?/init.lua.
This caused me almost a day of frustration, as I could not get my lua completion to work correctly: LuaLS/lua-language-server#657
Looking back the readme mentions it, but understates what is being done:
properly configures the require path with lua/?.lua and lua/?/init.
I would like it to be more explicit so no one else has to struggle a day for no reason. Something like:
ATTENTION: This Plugin changes the default runtime path, if you would like to use the sumneko lua-language-server for other lua projects add the following to your config:
@folke the PR that fixed this issue unfortunately makes the lsp much, much slower. Is there anyway to restrict this change to only people who want what it does?
This plugin changes the default of
Lua.runtime.path
from{ "?.lua", "?/init.lua", "?/?.lua" }
to{ "lua/?.lua", "lua/?/init.lua
.This caused me almost a day of frustration, as I could not get my lua completion to work correctly: LuaLS/lua-language-server#657
Looking back the readme mentions it, but understates what is being done:
I would like it to be more explicit so no one else has to struggle a day for no reason. Something like:
ATTENTION: This Plugin changes the default runtime path, if you would like to use the sumneko lua-language-server for other lua projects add the following to your config:
The text was updated successfully, but these errors were encountered: