Merge remote-tracking branch '4d47/php-comments'
This commit is contained in:
commit
e2d24701fa
|
@ -9,7 +9,7 @@ hook global BufSetOption filetype=asciidoc %{
|
||||||
set buffer comment_block '///:///'
|
set buffer comment_block '///:///'
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|sass|scala|scss|swift) %{
|
hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|php|sass|scala|scss|swift) %{
|
||||||
set buffer comment_line '//'
|
set buffer comment_line '//'
|
||||||
set buffer comment_block '/*:*/'
|
set buffer comment_block '/*:*/'
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,8 @@ add-highlighter -group / regions -default code php \
|
||||||
double_string '"' (?<!\\)(\\\\)*" '' \
|
double_string '"' (?<!\\)(\\\\)*" '' \
|
||||||
single_string "'" (?<!\\)(\\\\)*' '' \
|
single_string "'" (?<!\\)(\\\\)*' '' \
|
||||||
comment // '$' '' \
|
comment // '$' '' \
|
||||||
comment /\* \*/ ''
|
comment /\* \*/ '' \
|
||||||
|
comment '#' '$' ''
|
||||||
|
|
||||||
add-highlighter -group /php/double_string fill string
|
add-highlighter -group /php/double_string fill string
|
||||||
add-highlighter -group /php/single_string fill string
|
add-highlighter -group /php/single_string fill string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user