From e1de521e43523bc8b36de3ad96a41219bac59295 Mon Sep 17 00:00:00 2001 From: Binbin Ye Date: Mon, 30 Oct 2023 16:15:59 +0900 Subject: [PATCH] fix: fix eslint lsp config that workspace config requires full settings --- core/lspserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lspserver.py b/core/lspserver.py index cd60ddfdd3..c518fd1f9d 100755 --- a/core/lspserver.py +++ b/core/lspserver.py @@ -509,6 +509,7 @@ def handle_workspace_configuration_request(self, name, request_id, params): sessionSettings = settings.get(section, {}) if self.server_info["name"] == "vscode-eslint-language-server": + sessionSettings = settings sessionSettings["workspaceFolder"] = { "name": self.project_name, "uri": path_to_uri(self.project_path),