syntax highlighting and automatic detection when opening the file