@volar/language-server
Advanced tools
Comparing version 1.2.0-alpha.11 to 1.2.0-alpha.12
@@ -156,2 +156,4 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
connection.onDidOpenTextDocument(params => { | ||
if (params.textDocument.uri.startsWith('git:/')) | ||
return; | ||
snapshots.uriSet(params.textDocument.uri, new IncrementalScriptSnapshot(params.textDocument.uri, params.textDocument.languageId, params.textDocument.version, params.textDocument.text)); | ||
@@ -163,2 +165,4 @@ for (const cb of onDidChangeContents) { | ||
connection.onDidChangeTextDocument(params => { | ||
if (params.textDocument.uri.startsWith('git:/')) | ||
return; | ||
const incrementalSnapshot = snapshots.uriGet(params.textDocument.uri); | ||
@@ -186,2 +190,4 @@ if (incrementalSnapshot) { | ||
connection.onDidCloseTextDocument(params => { | ||
if (params.textDocument.uri.startsWith('git:/')) | ||
return; | ||
snapshots.uriDelete(params.textDocument.uri); | ||
@@ -188,0 +194,0 @@ for (const cb of onDidCloses) { |
@@ -17,3 +17,3 @@ import * as embedded from '@volar/language-core'; | ||
export declare function createProject(context: ProjectContext): Promise<{ | ||
tsConfig: ts.CompilerOptions | path.PosixPath; | ||
tsConfig: path.PosixPath | ts.CompilerOptions; | ||
scripts: { | ||
@@ -20,0 +20,0 @@ clear: () => void; |
{ | ||
"name": "@volar/language-server", | ||
"version": "1.2.0-alpha.11", | ||
"version": "1.2.0-alpha.12", | ||
"main": "out/index.js", | ||
@@ -20,5 +20,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@volar/language-core": "1.2.0-alpha.11", | ||
"@volar/language-service": "1.2.0-alpha.11", | ||
"@volar/shared": "1.2.0-alpha.11", | ||
"@volar/language-core": "1.2.0-alpha.12", | ||
"@volar/language-service": "1.2.0-alpha.12", | ||
"@volar/shared": "1.2.0-alpha.12", | ||
"@vscode/l10n": "^0.0.11", | ||
@@ -33,3 +33,3 @@ "request-light": "^0.7.0", | ||
}, | ||
"gitHead": "b9b3d607df5772c00edda17cfda05281c3e7c06f" | ||
"gitHead": "cac0a7e75c45bd217f98b8d2f66a03860cc89e0c" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
475243
7715
+ Added@volar/language-core@1.2.0-alpha.12(transitive)
+ Added@volar/language-service@1.2.0-alpha.12(transitive)
+ Added@volar/shared@1.2.0-alpha.12(transitive)
+ Added@volar/source-map@1.2.0-alpha.12(transitive)
+ Added@volar/typescript-faster@1.2.0-alpha.12(transitive)
- Removed@volar/language-core@1.2.0-alpha.11(transitive)
- Removed@volar/language-service@1.2.0-alpha.11(transitive)
- Removed@volar/shared@1.2.0-alpha.11(transitive)
- Removed@volar/source-map@1.2.0-alpha.11(transitive)
- Removed@volar/typescript-faster@1.2.0-alpha.11(transitive)
Updated@volar/shared@1.2.0-alpha.12