refined the highlighting of code by relaying less on the auto detection