Allow highlighting ommitted '.rb' ext, DRY up ext checking.