Pick a grammar for the current editor