Merge remote-tracking branch 'sidkshatriya/php-syntax-heredoc'
This commit is contained in:
commit
28ef698295
|
@ -1,7 +1,7 @@
|
||||||
# Detection
|
# Detection
|
||||||
# ‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook global BufCreate .*[.](php) %{
|
hook global BufCreate .*[.](phpt?) %{
|
||||||
set-option buffer filetype php
|
set-option buffer filetype php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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/comment1 region // '$' fill comment
|
||||||
add-highlighter shared/php/comment2 region /\* \*/ fill comment
|
add-highlighter shared/php/comment2 region /\* \*/ fill comment
|
||||||
add-highlighter shared/php/comment3 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/code/ regex &?\$\w* 0:variable
|
add-highlighter shared/php/code/ regex &?\$\w* 0:variable
|
||||||
|
|
Loading…
Reference in New Issue
Block a user