Skip to content

Commit

Permalink
fix: fix eslint lsp config that workspace config requires full settings
Browse files Browse the repository at this point in the history
  • Loading branch information
braineo committed Oct 31, 2023
1 parent ebfd819 commit e1de521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lspserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit e1de521

Please sign in to comment.