@volar/language-server 2.4.21 → 2.4.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ const vscode_uri_1 = require("vscode-uri");
7
7
  const protocol_1 = require("../../protocol");
8
8
  const reportedCapabilities = new Set();
9
9
  function register(server, documents, configurations) {
10
+ configurations.onDidChange(() => requestRefresh(false));
10
11
  // Diagnostics support
11
12
  let refreshReq = 0;
12
13
  let updateDiagnosticsBatchReq = 0;
@@ -621,7 +622,6 @@ function register(server, documents, configurations) {
621
622
  documents.onDidClose(({ document }) => {
622
623
  server.connection.sendDiagnostics({ uri: document.uri, diagnostics: [] });
623
624
  });
624
- configurations.onDidChange(() => requestRefresh(false));
625
625
  refreshHandlers.push(async (clearDiagnostics) => {
626
626
  if (clearDiagnostics) {
627
627
  for (const document of documents.all()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/language-server",
3
- "version": "2.4.21",
3
+ "version": "2.4.23",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -12,9 +12,9 @@
12
12
  "directory": "packages/language-server"
13
13
  },
14
14
  "dependencies": {
15
- "@volar/language-core": "2.4.21",
16
- "@volar/language-service": "2.4.21",
17
- "@volar/typescript": "2.4.21",
15
+ "@volar/language-core": "2.4.23",
16
+ "@volar/language-service": "2.4.23",
17
+ "@volar/typescript": "2.4.23",
18
18
  "path-browserify": "^1.0.1",
19
19
  "request-light": "^0.7.0",
20
20
  "vscode-languageserver": "^9.0.1",
@@ -25,5 +25,5 @@
25
25
  "devDependencies": {
26
26
  "@types/path-browserify": "latest"
27
27
  },
28
- "gitHead": "ddb336ac5074cf17afe7929d5bb2258f451e67ff"
28
+ "gitHead": "9b06fb744475622284870f6cc4e638dc7747daef"
29
29
  }