@volar/language-service 1.8.2 → 1.9.0
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/out/baseLanguageService.js +1 -1
- package/out/types.d.ts +1 -0
- package/package.json +4 -4
|
@@ -37,7 +37,7 @@ const linkedEditingRanges = require("./documentFeatures/linkedEditingRanges");
|
|
|
37
37
|
const selectionRanges = require("./documentFeatures/selectionRanges");
|
|
38
38
|
const common_1 = require("./utils/common");
|
|
39
39
|
function createLanguageService(modules, env, config, languageHost) {
|
|
40
|
-
if (languageHost.
|
|
40
|
+
if (languageHost.workspacePath.indexOf('\\') >= 0 || languageHost.rootPath.indexOf('\\') >= 0) {
|
|
41
41
|
throw new Error('Volar: Current directory must be posix style.');
|
|
42
42
|
}
|
|
43
43
|
if (languageHost.getScriptFileNames().some(fileName => fileName.indexOf('\\') >= 0)) {
|
package/out/types.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface SharedModules {
|
|
|
9
9
|
}
|
|
10
10
|
export interface ServiceEnvironment {
|
|
11
11
|
locale?: string;
|
|
12
|
+
workspaceUri: URI;
|
|
12
13
|
rootUri: URI;
|
|
13
14
|
clientCapabilities?: vscode.ClientCapabilities;
|
|
14
15
|
getConfiguration?<T>(section: string, scopeUri?: string): Promise<T | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/language-service",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"directory": "packages/language-service"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/language-core": "1.
|
|
17
|
-
"@volar/source-map": "1.
|
|
16
|
+
"@volar/language-core": "1.9.0",
|
|
17
|
+
"@volar/source-map": "1.9.0",
|
|
18
18
|
"vscode-languageserver-protocol": "^3.17.3",
|
|
19
19
|
"vscode-languageserver-textdocument": "^1.0.8",
|
|
20
20
|
"vscode-uri": "^3.0.7"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "37453f868329df9c666e6ee44919a55b36484b93"
|
|
23
23
|
}
|