I have been writing a syntax highlighter for my language. I want to be able to highlight functions and calls a different colors. I’ve tried
- match: '{{id}}[\s]*\('
push: function
function:
- meta_scope: entity.name.function
pop: true
…but this doesn’t work?
Am I getting the regex wrong or do I need to move this match up and down main?