@spyglassmc/language-server 0.4.20 → 0.4.22

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.
Files changed (2) hide show
  1. package/lib/util/toLS.js +1 -1
  2. package/package.json +4 -4
package/lib/util/toLS.js CHANGED
@@ -127,7 +127,7 @@ export function completionItem(completion, doc, requestedOffset, insertReplaceSu
127
127
  kind: completion.kind,
128
128
  ...(completion.labelSuffix ? { labelDetails: { detail: completion.labelSuffix } } : {}),
129
129
  detail: completion.detail,
130
- documentation: completion.documentation,
130
+ documentation: completion.documentation ? markupContent(completion.documentation) : undefined,
131
131
  filterText: completion.filterText,
132
132
  sortText: completion.sortText,
133
133
  textEdit,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spyglassmc/language-server",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
4
4
  "type": "module",
5
5
  "main": "lib/server.js",
6
6
  "types": "lib/server.d.ts",
@@ -21,10 +21,10 @@
21
21
  "env-paths": "^2.2.1",
22
22
  "vscode-languageserver": "^9.0.1",
23
23
  "vscode-languageserver-textdocument": "^1.0.11",
24
- "@spyglassmc/core": "0.4.16",
25
- "@spyglassmc/java-edition": "0.3.21",
24
+ "@spyglassmc/core": "0.4.17",
25
+ "@spyglassmc/java-edition": "0.3.23",
26
26
  "@spyglassmc/locales": "0.3.10",
27
- "@spyglassmc/mcdoc": "0.3.19"
27
+ "@spyglassmc/mcdoc": "0.3.21"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"