@x18n/lsp 0.0.7 → 0.0.8
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.
- package/dist/src.mjs +2 -2
- package/package.json +5 -5
package/dist/src.mjs
CHANGED
|
@@ -28,7 +28,7 @@ const commands = {
|
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region package.json
|
|
31
|
-
var version = "0.0.
|
|
31
|
+
var version = "0.0.8";
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/server.ts
|
|
34
34
|
const severities = {
|
|
@@ -342,7 +342,7 @@ var Server = class {
|
|
|
342
342
|
try {
|
|
343
343
|
return project.plan(ops);
|
|
344
344
|
} catch (error) {
|
|
345
|
-
throw new ResponseError(1, isX18nError(error) ? `${error.message}. ${error.
|
|
345
|
+
throw new ResponseError(1, isX18nError(error) ? `${error.message}. ${error.fix}` : String(error));
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
workspaceEdit(entry, plan) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x18n/lsp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"description": "x18n language server for any LSP editor",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"node": ">=22"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@x18n/builtins": "0.0.
|
|
33
|
-
"@x18n/core": "0.0.
|
|
34
|
-
"@x18n/node": "0.0.
|
|
35
|
-
"@x18n/ui": "0.0.
|
|
32
|
+
"@x18n/builtins": "0.0.8",
|
|
33
|
+
"@x18n/core": "0.0.8",
|
|
34
|
+
"@x18n/node": "0.0.8",
|
|
35
|
+
"@x18n/ui": "0.0.8",
|
|
36
36
|
"devframe": "^1.2.6",
|
|
37
37
|
"vscode-languageserver": "^10.1.2",
|
|
38
38
|
"vscode-languageserver-textdocument": "^1.0.15"
|