lua-language-server
lua-language-server copied to clipboard
There's some issue with 3rd party annotations since 3.5.1
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Annotations, Hover
Expected Behaviour
#!/usr/bin/env resty
local isarray = require "table.isarray
if isarray({}) then
print("array")
end
My environment uses ${3rd}/OpenResty. Hover for isarray should show the doc/annotations for table.isarray.
Here is how it looks in 3.5.0:

Actual Behaviour
In 3.5.1 and 3.5.2, isarray is detected as unknown:

Reproduction steps
- Go to '...'
- Click '...'
- See error '...'
Additional Notes
Runtime path still works for ${3rd}/OpenResty/library, because I get a completion result for it, but no annotations:
