#NEWLINE# def run( self , file_path_or_pattern ) : #NEWLINE# #INDENT# if ( not self ) : #NEWLINE# #INDENT# file_path_or_pattern = self . file_path_or_pattern #NEWLINE# #UNINDENT# self . add_ignore ( os . path . join ( '/' , file_path_or_pattern ) ) #NEWLINE# sublime . status_message ( 'Ignored file `{}`.' . format ( file_path_or_pattern ) ) #NEWLINE# util . view . refresh_gitsavvy ( self . window . active_view ( ) )