:LspInfo
client's root_directory seems to be always "Running in single file mode" even with single_file_support = false
; Undefined global 'type'
#2446
Labels
bug
Something isn't working
Description
I tested that with
tsserver
and sumneko lua, so it is probably not Language Server issue, I suspect that it has something to do with Windows.My configs are minimal taken from the readme, but with
single_file_support
set tofalse
...I did check if root_dir is resolved correctly, and it is:
Regardless, most features work properly, as if the actual root_dir were handled right under the hood.
Also, for some reason out of all globals, the
type
standard Lua function is not getting recognized:#2366 - might be related
Neovim version
NVIM v0.8.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az28-353
Nvim-lspconfig version
aeb7606 (latest)
Operating system and version
Windows 10
Affected language servers
tsserver, sumneko_lua, potentially all of them
Steps to reproduce
:LspInfo
Actual behavior
Expected behavior
It should be a path, especially with single_file_support option set to false
Minimal config
LSP log
https://gist.github.com/caldwell-63/666080bc3d8a86279e6e23f04afb70a3
The text was updated successfully, but these errors were encountered: