|
1 | 1 | ;; -*- mode: emacs-lisp -*- |
2 | 2 | (("<?php" . php-php-tag) |
3 | | - ("\n\n" . nil) |
| 3 | + ("\n\n") |
4 | 4 | ("// " . font-lock-comment-delimiter-face) |
5 | 5 | ("Test highlighting of variables with the variable-name-face\n" . font-lock-comment-face) |
6 | 6 | ("$" . php-variable-sigil) |
| 7 | + ("_" . php-variable-name) |
| 8 | + (";\n") |
| 9 | + ("$" . php-variable-sigil) |
7 | 10 | ("regularVariable" . php-variable-name) |
8 | | - (";\n" . nil) |
| 11 | + (";\n") |
9 | 12 | ("$$" . php-variable-sigil) |
10 | 13 | ("variableVariable" . php-variable-name) |
11 | | - (";\n" . nil) |
| 14 | + (";\n") |
| 15 | + ("$" . php-variable-sigil) |
| 16 | + ("漢字" . php-variable-name) |
| 17 | + (";\n") |
| 18 | + ("$" . php-variable-sigil) |
| 19 | + ("snake_case" . php-variable-name) |
| 20 | + (";\n") |
| 21 | + ("$" . php-variable-sigil) |
| 22 | + ("abc123xyz" . php-variable-name) |
| 23 | + (";\n") |
| 24 | + ("$" . php-variable-sigil) |
| 25 | + ("def_456_ghi" . php-variable-name) |
| 26 | + (";\n${") |
| 27 | + ("'var'" . php-string) |
| 28 | + ("};\n${") |
| 29 | + ("\"var\"" . php-string) |
| 30 | + ("};\n${") |
| 31 | + ("$" . php-variable-sigil) |
| 32 | + ("var" . php-variable-name) |
| 33 | + ("};\n${") |
| 34 | + ("'v'" . php-string) |
| 35 | + (" . ") |
| 36 | + ("'ar'" . php-string) |
| 37 | + ("};\n") |
| 38 | + ("$" . php-variable-sigil) |
| 39 | + ("a" . php-variable-name) |
| 40 | + ("{1};\n") |
| 41 | + ("$" . php-variable-sigil) |
| 42 | + ("a" . php-variable-name) |
| 43 | + ("{") |
| 44 | + ("'a'" . php-string) |
| 45 | + ("};\n") |
12 | 46 | ("MyClass" . php-constant) |
13 | 47 | ("::" . php-paamayim-nekudotayim) |
14 | 48 | ("$" . php-variable-sigil) |
15 | 49 | ("staticVariable" . php-variable-name) |
16 | | - (";\n" . nil) |
| 50 | + (";\n") |
17 | 51 | ("$" . php-variable-sigil) |
18 | 52 | ("object" . php-variable-name) |
19 | 53 | ("->" . php-object-op) |
20 | 54 | ("memberVariable" . php-property-name) |
21 | | - (";\n" . nil) |
| 55 | + (";\n") |
22 | 56 | ("$" . php-variable-sigil) |
23 | 57 | ("object" . php-variable-name) |
24 | 58 | ("->" . php-object-op) |
25 | 59 | ("funCall" . php-method-call) |
26 | | - ("();\n" . nil)) |
| 60 | + ("();\n")) |
0 commit comments