File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 202
202
:tag " PHPDoc Class Name" )
203
203
204
204
(defface php-class-declaration '((t (:inherit php-keyword)))
205
- " Face used to class declarations. "
205
+ " Face used to highlight class declaration keywords "
206
206
:group 'php-faces
207
207
:tag " PHP Class Declaration" )
208
208
209
+ (defface php-class-declaration-spec '((t (:inherit php-keyword)))
210
+ " Face used to highlight class declaration specification keywords (implements, extends)"
211
+ :group 'php-faces
212
+ :tag " PHP Class Declaration Specification" )
213
+
209
214
(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag " 1.19.0" )
210
215
211
216
(provide 'php-face )
Original file line number Diff line number Diff line change @@ -1541,6 +1541,9 @@ a completion list."
1541
1541
`(
1542
1542
; ; Class declaration keywords (class, trait, interface)
1543
1543
(" class\\ |trait\\ |interface" . 'php-class-declaration )
1544
+
1545
+ ; ; Class declaration specification keywords (implements, extends)
1546
+ (" implements\\ |extends" . 'php-class-declaration-spec )
1544
1547
1545
1548
; ; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but
1546
1549
; ; not in $obj->var()
You can’t perform that action at this time.
0 commit comments