<s> import sublime , sublime_plugin , os <EOL> class ShowFilenameInStatus ( sublime_plugin . EventListener ) : <EOL> def on_activated_async ( self , view ) : <EOL> filename = os . path . split ( view . file_name ( ) ) [ <NUM_LIT:1> ] <EOL> if filename is None : <EOL> view . erase_status ( '<STR_LIT>' ) <EOL> else : <EOL> view . set_status ( '<STR_LIT>' , "<STR_LIT>" + filename ) </s>
