Skip to content

Commit

Permalink
rename php modifiers faces; added php-property-acess face
Browse files Browse the repository at this point in the history
  • Loading branch information
Demis Balbach committed Jan 2, 2020
1 parent f79dfa9 commit f4cdd87
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions php-face.el
Original file line number Diff line number Diff line change
Expand Up @@ -221,16 +221,21 @@
:group 'php-faces
:tag "PHP Import Statement")

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

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

(defface php-property-access '((t (:inherit php-keyword)))
"Face used to highlight property access keywords (public, protected, public)"
:group 'php-faces
:tag "PHP Property Access")

(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag "1.19.0")

(provide 'php-face)
Expand Down

0 comments on commit f4cdd87

Please sign in to comment.