Skip to content

Commit

Permalink
Ignore file type recommendations for gitfs scheme (#86674)
Browse files Browse the repository at this point in the history
Ignore file type recommendations for gitfs scheme
  • Loading branch information
sandy081 authored Dec 10, 2019
2 parents 455d8f7 + 824635c commit 3075787
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ export class ExtensionTipsService extends Disposable implements IExtensionTipsSe
*/
private promptFiletypeBasedRecommendations(model: ITextModel): void {
const uri = model.uri;
if (!uri || !this.fileService.canHandleResource(uri)) {
if (!uri || uri.scheme === 'gitfs' || !this.fileService.canHandleResource(uri)) {
return;
}

Expand Down

0 comments on commit 3075787

Please sign in to comment.