Skip to content

Commit

Permalink
Merge pull request #756 from braineo/fix-eslint-init
Browse files Browse the repository at this point in the history
fix: fix eslint lsp config that workspace config requires full settings
  • Loading branch information
manateelazycat authored Oct 31, 2023
2 parents ebfd819 + e1de521 commit ccf28fa
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 ccf28fa

Please sign in to comment.