1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 15:23:29 +03:00

Merge remote-tracking branch 'stacyharper/improve-php-heredoc'

This commit is contained in:
Maxime Coste 2024-07-21 00:50:06 +10:00
commit 6f562aa0ad

View File

@ -39,7 +39,7 @@ add-highlighter shared/php/doc_comment2 region /\*\* \*/ ref php/d
add-highlighter shared/php/comment1 region // '$' fill comment
add-highlighter shared/php/comment2 region /\* \*/ fill comment
add-highlighter shared/php/comment3 region '#' '$' fill comment
add-highlighter shared/php/heredoc region -match-capture '<<<(.*?)$' '^\h*(.*?);' fill string
add-highlighter shared/php/heredoc region -match-capture '<<<''?(.*?)''?$' '^\h*(.*?);?$' fill string
add-highlighter shared/php/code/ regex &?\$\w* 0:variable