From c7880932c421f4ec2e2f2205119a9d41882a47a0 Mon Sep 17 00:00:00 2001 From: Sidharth Kshatriya Date: Thu, 13 Jan 2022 20:54:15 +0530 Subject: [PATCH] Add support for PHP heredoc in syntax highlighting --- rc/filetype/php.kak | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rc/filetype/php.kak b/rc/filetype/php.kak index 97bdbfe32..254207f88 100644 --- a/rc/filetype/php.kak +++ b/rc/filetype/php.kak @@ -39,7 +39,12 @@ 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 - +# Example PHP heredoc: +# echo <<