File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 216
216
:group 'php-faces
217
217
:tag " PHP Namespace Declaration" )
218
218
219
+
220
+ (defface php-import-declaration '((t (:inherit php-keyword)))
221
+ " Face used to highlight import statements (use ... as ...)"
222
+ :group 'php-faces
223
+ :tag " PHP Import Statement" )
224
+
219
225
(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag " 1.19.0" )
220
226
221
227
(provide 'php-face )
Original file line number Diff line number Diff line change @@ -1547,6 +1547,9 @@ a completion list."
1547
1547
1548
1548
; ; Namespace declaration
1549
1549
(" namespace" . 'php-namespace-declaration )
1550
+
1551
+ ; ; import statement
1552
+ (" use\\ |as" . 'php-import-declaration )
1550
1553
1551
1554
; ; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but
1552
1555
; ; not in $obj->var()
You can’t perform that action at this time.
0 commit comments