Skip to content

Commit f4cdd87

Browse files
author
Demis Balbach
committed
rename php modifiers faces; added php-property-acess face
1 parent f79dfa9 commit f4cdd87

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

php-face.el

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,16 +221,21 @@
221221
:group 'php-faces
222222
:tag "PHP Import Statement")
223223

224-
(defface php-modifiers-class '((t (:inherit php-keyword)))
224+
(defface php-class-modifiers '((t (:inherit php-keyword)))
225225
"Face used to highlight class modifiers (final, abstract)"
226226
:group 'php-faces
227227
:tag "PHP Class Modifiers")
228228

229-
(defface php-modifiers-method '((t (:inherit php-keyword)))
229+
(defface php-method-modifiers '((t (:inherit php-keyword)))
230230
"Face used to highlight method modifiers (final, abstract)"
231231
:group 'php-faces
232232
:tag "PHP Method Modifiers")
233233

234+
(defface php-property-access '((t (:inherit php-keyword)))
235+
"Face used to highlight property access keywords (public, protected, public)"
236+
:group 'php-faces
237+
:tag "PHP Property Access")
238+
234239
(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag "1.19.0")
235240

236241
(provide 'php-face)

0 commit comments

Comments
 (0)