Awesome addon! Directly configured it for the twig templates in my project where every file ends with .twig like stylesheet.css.twig, default.html.twig or javascript.js.twig.
Used these lines:
{
"name": "CSS",
"rules": {"file_name": ".*\\.css\\.twig$"}]
},
{
"name": "PHP",
"rules": {"file_name": ".*\\.(x?p?html|cml)\\.twig$"}]
},
{
"name": "JavaScript",
"rules": {"file_name": ".*\\.js\\.twig$"}]
},
But I had to insert this JSON above the function example as the extension seems to stop at that rule and does not process any further.