neovim: enable enableProjectDiagnostics for tsserver

This commit is contained in:
2022-06-28 22:16:26 +03:00
parent 5ccd0eb9bc
commit 4fbe985faf

View File

@@ -141,6 +141,13 @@ for _, server in ipairs(servers) do
if server.name == "tsserver" then
opts.root_dir = util.root_pattern(".git", "package.json", "tsconfig.json")
opts.settings = {
tsserver = {
experimental = {
enableProjectDiagnostics = true,
},
},
}
end
if server.name == "eslint" then