File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -186,10 +186,11 @@ def run(self, edit):
186186 phantoms = []
187187 self .view .erase_phantoms ('git-blame' )
188188 # Before adding the phantom, see if the current phantom that is displayed is at the same spot at the selection
189- phantom_exists = self .view .line (self .view .sel ()[0 ]) == self .view .line (self .phantom_set .phantoms [0 ].region )
190- if self .phantom_set .phantoms and phantom_exists :
191- self .phantom_set .update (phantoms )
192- return
189+ if self .phantom_set .phantoms :
190+ phantom_exists = self .view .line (self .view .sel ()[0 ]) == self .view .line (self .phantom_set .phantoms [0 ].region )
191+ if phantom_exists :
192+ self .phantom_set .update (phantoms )
193+ return
193194
194195 for region in self .view .sel ():
195196 line = self .view .line (region )
You can’t perform that action at this time.
0 commit comments