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 @@ -35,7 +35,7 @@ def run(self, edit):
3535 # If they are currently shown, toggle them off and return.
3636 if self .view .settings ().get (VIEW_SETTING_PHANTOM_ALL_DISPLAYED , False ):
3737 self .phantom_set .update (phantoms )
38- self .view .settings ().set (VIEW_SETTING_PHANTOM_ALL_DISPLAYED , False )
38+ self .view .settings ().erase (VIEW_SETTING_PHANTOM_ALL_DISPLAYED )
3939 self .view .run_command ("blame_restore_rulers" )
4040 return
4141
@@ -112,6 +112,7 @@ def run(self, edit):
112112 """Erases the blame results."""
113113 sublime .status_message ("The git blame result is cleared." )
114114 self .view .erase_phantoms (PHANTOM_KEY_ALL )
115+ self .view .settings ().erase (VIEW_SETTING_PHANTOM_ALL_DISPLAYED )
115116 self .view .run_command ("blame_restore_rulers" )
116117
117118
@@ -127,7 +128,6 @@ def is_applicable(cls, settings):
127128 def on_modified_async (self ):
128129 """Automatically erases the blame results to prevent mismatches."""
129130 self .view .run_command ("blame_erase_all" )
130- self .view .settings ().erase (VIEW_SETTING_PHANTOM_ALL_DISPLAYED )
131131
132132
133133class BlameRestoreRulers (sublime_plugin .TextCommand ):
You can’t perform that action at this time.
0 commit comments