Skip to content

Commit a2b68dc

Browse files
Demis Balbachzonuexe
authored andcommitted
rename php modifiers faces; added php-property-acess face
1 parent 1c13765 commit a2b68dc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

php-face.el

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,16 @@
226226
:group 'php-faces
227227
:tag "PHP Class Modifier")
228228

229+
(defface php-method-modifier '((t (:inherit php-keyword)))
230+
"PHP Mode Face used to highlight method modifiers (final, abstract)."
231+
:group 'php-faces
232+
:tag "PHP Method Modifier")
233+
234+
(defface php-visibility-modifier '((t (:inherit php-keyword)))
235+
"PHP Mode Face used to highlight access keywords (public, protected, private)."
236+
:group 'php-faces
237+
:tag "PHP Visibility Modifier")
238+
229239
(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag "1.19.0")
230240

231241
(provide 'php-face)

0 commit comments

Comments
 (0)