Fixed custom syntax highlighting detection