Update editors when a grammar is added
Move debug setting to config

This change makes `/^$/` be an indicator of "non-file-type settings".