diff --git a/packages/language-php/grammars/modern-tree-sitter-php-html.cson b/packages/language-php/grammars/modern-tree-sitter-php-html.cson index 77b49260f..d7d2c658c 100644 --- a/packages/language-php/grammars/modern-tree-sitter-php-html.cson +++ b/packages/language-php/grammars/modern-tree-sitter-php-html.cson @@ -5,6 +5,15 @@ parser: 'tree-sitter-php' injectionRegex: 'php|PHP' +# The TextMate grammar has an elaborate `firstLineMatch` pattern defined with +# Oniguruma; it catches hashbang syntax and complex vim/emacs modelines along +# with the typical `