When you open a `.js`, `.py`, etc. file, nano colors the syntax automatically if a syntax definition is available.