File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ class GitBlameEditorDecoration {
305
305
}
306
306
307
307
const blameInformation = this . _controller . textEditorBlameInformation . get ( textEditor ) ;
308
- if ( ! blameInformation ) {
308
+ if ( ! blameInformation || textEditor . document . uri . scheme !== 'file' ) {
309
309
textEditor . setDecorations ( this . _decorationType , [ ] ) ;
310
310
return ;
311
311
}
@@ -393,7 +393,7 @@ class GitBlameStatusBarItem {
393
393
}
394
394
395
395
const blameInformation = this . _controller . textEditorBlameInformation . get ( textEditor ) ;
396
- if ( ! blameInformation || blameInformation . length === 0 ) {
396
+ if ( ! blameInformation || blameInformation . length === 0 || textEditor . document . uri . scheme !== 'file' ) {
397
397
this . _statusBarItem . hide ( ) ;
398
398
return ;
399
399
}
You can’t perform that action at this time.
0 commit comments