diff options
| author | Simeon Simeonov | 2020-05-11 08:57:19 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2020-05-11 08:57:19 +0200 |
| commit | b4ae205398b94266d012c5cffc64bc1450c3d541 (patch) | |
| tree | 44887c3a0f79cb146042d0f3b34a2dddf22878ca /.emacs.d/lisp/php-face.el | |
| parent | ff5a069cf024565751e4db4783c18e920994b211 (diff) | |
| parent | aa6722130316cd9460a5276bd07486887411799a (diff) | |
Merge branch 'master' of pichove.org:emacs-config
Diffstat (limited to '.emacs.d/lisp/php-face.el')
| -rw-r--r-- | .emacs.d/lisp/php-face.el | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/.emacs.d/lisp/php-face.el b/.emacs.d/lisp/php-face.el index 4230bae..5f40257 100644 --- a/.emacs.d/lisp/php-face.el +++ b/.emacs.d/lisp/php-face.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: USAMI Kenta <tadsan@zonu.me> | 5 | ;; Author: USAMI Kenta <tadsan@zonu.me> |
| 6 | ;; Created: 5 May 2019 | 6 | ;; Created: 5 May 2019 |
| 7 | ;; Version: 1.21.4 | 7 | ;; Version: 1.22.1 |
| 8 | ;; Keywords: faces, php | 8 | ;; Keywords: faces, php |
| 9 | ;; Homepage: https://github.com/emacs-php/php-mode | 9 | ;; Homepage: https://github.com/emacs-php/php-mode |
| 10 | ;; Package-Requires: ((emacs "24.3")) | 10 | ;; Package-Requires: ((emacs "24.3")) |
| @@ -56,7 +56,7 @@ | |||
| 56 | :group 'php-faces | 56 | :group 'php-faces |
| 57 | :tag "PHP Function Name") | 57 | :tag "PHP Function Name") |
| 58 | 58 | ||
| 59 | (defface php-function-call '((t (:inherit default))) | 59 | (defface php-function-call '((t ())) |
| 60 | "PHP Mode face used to highlight function names in calles." | 60 | "PHP Mode face used to highlight function names in calles." |
| 61 | :group 'php-faces | 61 | :group 'php-faces |
| 62 | :tag "PHP Function Call") | 62 | :tag "PHP Function Call") |
| @@ -81,17 +81,52 @@ | |||
| 81 | :group 'php-faces | 81 | :group 'php-faces |
| 82 | :tag "PHP Property Name") | 82 | :tag "PHP Property Name") |
| 83 | 83 | ||
| 84 | (defface php-variable-sigil '((t (:inherit default))) | 84 | (defface php-variable-sigil '((t ())) |
| 85 | "PHP Mode face used to highlight variable sigils ($)." | 85 | "PHP Mode face used to highlight variable sigils ($)." |
| 86 | :group 'php-faces | 86 | :group 'php-faces |
| 87 | :tag "PHP Variable Sigil") | 87 | :tag "PHP Variable Sigil") |
| 88 | 88 | ||
| 89 | (defface php-object-op '((t (:inherit default))) | 89 | (defface php-operator '((t ())) |
| 90 | "PHP Mode face used to operators." | ||
| 91 | :group 'php-faces | ||
| 92 | :tag "PHP Operator") | ||
| 93 | |||
| 94 | (defface php-assignment-op '((t (:inherit php-operator))) | ||
| 95 | "PHP Mode face used to assignment operators (=, +=, ...)." | ||
| 96 | :group 'php-faces | ||
| 97 | :tag "PHP Object Op") | ||
| 98 | |||
| 99 | (defface php-comparison-op '((t (:inherit php-operator))) | ||
| 100 | "PHP Mode face used to comparison operators (==, !=, ===, ...)." | ||
| 101 | :group 'php-faces | ||
| 102 | :tag "PHP Comparison Op") | ||
| 103 | |||
| 104 | (defface php-logical-op '((t (:inherit php-operator))) | ||
| 105 | "PHP Mode face used to logical operators (&&, ||, ?:)." | ||
| 106 | :group 'php-faces | ||
| 107 | :tag "PHP Logical Op") | ||
| 108 | |||
| 109 | (defface php-arithmetic-op '((t (:inherit php-operator))) | ||
| 110 | "PHP Mode face used to arithmetic operators (+, -, %, ...)." | ||
| 111 | :group 'php-faces | ||
| 112 | :tag "PHP Arithmetic Op") | ||
| 113 | |||
| 114 | (defface php-inc-dec-op '((t (:inherit php-operator))) | ||
| 115 | "PHP Mode face used to increment and decremt operators (--, ++)." | ||
| 116 | :group 'php-faces | ||
| 117 | :tag "PHP Increment/Decrement Op") | ||
| 118 | |||
| 119 | (defface php-string-op '((t (:inherit php-operator))) | ||
| 120 | "PHP Mode face used to logical operators (.)." | ||
| 121 | :group 'php-faces | ||
| 122 | :tag "PHP String Op") | ||
| 123 | |||
| 124 | (defface php-object-op '((t (:inherit php-operator))) | ||
| 90 | "PHP Mode face used to object operators (->)." | 125 | "PHP Mode face used to object operators (->)." |
| 91 | :group 'php-faces | 126 | :group 'php-faces |
| 92 | :tag "PHP Object Op") | 127 | :tag "PHP Object Op") |
| 93 | 128 | ||
| 94 | (defface php-paamayim-nekudotayim '((t (:inherit default))) | 129 | (defface php-paamayim-nekudotayim '((t ())) |
| 95 | "PHP Mode face used to highlight \"Paamayim Nekudotayim\" scope resolution operators (::)." | 130 | "PHP Mode face used to highlight \"Paamayim Nekudotayim\" scope resolution operators (::)." |
| 96 | :group 'php-faces | 131 | :group 'php-faces |
| 97 | :tag "PHP Paamayim Nekudotayim") | 132 | :tag "PHP Paamayim Nekudotayim") |
| @@ -131,7 +166,7 @@ | |||
| 131 | :group 'php-faces | 166 | :group 'php-faces |
| 132 | :tag "PHP $this Sigil") | 167 | :tag "PHP $this Sigil") |
| 133 | 168 | ||
| 134 | (defface php-errorcontrol-op '((t (:inherit font-lock-type-face))) | 169 | (defface php-errorcontrol-op '((t (:inherit font-lock-type-face))) |
| 135 | "PHP Mode face used to highlight errorcontrol operators (@).." | 170 | "PHP Mode face used to highlight errorcontrol operators (@).." |
| 136 | :group 'php-faces | 171 | :group 'php-faces |
| 137 | :tag "PHP ErrorControl Op") | 172 | :tag "PHP ErrorControl Op") |
