Opening Preferences -> Editor -> Code Style -> File Types,3d
Find "Jade" under Recognized File Typesblog
Add "*.pug" to the list of Registered Patterns, OK!it