Alloyed / lua-lsp

A Lua language server
MIT License
288 stars 21 forks source link

ERROR with lua-lsp, lua version is 5.3 #24

Closed shuxiao9058 closed 4 years ago

shuxiao9058 commented 5 years ago
Error from the Language Server: /usr/local/share/lua/5.3/lua-lsp/methods.lua:517: attempt to index a nil value (local ’val’)
stack traceback:
    /usr/local/share/lua/5.3/lua-lsp/methods.lua:517: in upvalue ’definition_of’
    /usr/local/share/lua/5.3/lua-lsp/methods.lua:662: in function ’lua-lsp.methods.textDocument/hover’
    /usr/local/share/lua/5.3/lua-lsp/loop.lua:57: in function </usr/local/share/lua/5.3/lua-lsp/loop.lua:56>
    [C]: in function ’xpcall’
    /usr/local/share/lua/5.3/lua-lsp/loop.lua:56: in function ’lua-lsp.loop’
    /usr/local/lib/luarocks/rocks-5.3/lua-lsp/scm-2/bin/lua-lsp:3: in main chunk
    [C]: in ? (Internal Error)
Error from the Language Server: /usr/local/share/lua/5.3/lua-lsp/methods.lua:517: attempt to index a nil value (local ’val’)
stack traceback:
    /usr/local/share/lua/5.3/lua-lsp/methods.lua:517: in upvalue ’definition_of’
    /usr/local/share/lua/5.3/lua-lsp/methods.lua:662: in function ’lua-lsp.methods.textDocument/hover’
    /usr/local/share/lua/5.3/lua-lsp/loop.lua:57: in function </usr/local/share/lua/5.3/lua-lsp/loop.lua:56>
    [C]: in function ’xpcall’
    /usr/local/share/lua/5.3/lua-lsp/loop.lua:56: in function ’lua-lsp.loop’
    /usr/local/lib/luarocks/rocks-5.3/lua-lsp/scm-2/bin/lua-lsp:3: in main chunk
    [C]: in ? (Internal Error)
Mark set
Alloyed commented 4 years ago

closed for age, if this is still happening feel free to reopen