mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Don't send git resources to tsserver
This commit is contained in:
parent
21cd7c6001
commit
0bf4493b75
|
@ -627,6 +627,10 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
|||
// Both \ and / must be escaped in regular expressions
|
||||
return result.replace(new RegExp('\\' + this.pathSeparator, 'g'), '/');
|
||||
}
|
||||
case fileSchemes.git:
|
||||
{
|
||||
return undefined;
|
||||
}
|
||||
default:
|
||||
{
|
||||
return this.inMemoryResourcePrefix + resource.toString(true);
|
||||
|
|
Loading…
Reference in a new issue