dkearns | 04e5363 | 2024-04-11 06:18:37 +1000 | [diff] [blame^] | 1 | vim9script |
| 2 | |
| 3 | # Vim Keymap file for syntax testing |
| 4 | |
| 5 | scriptencoding utf-8 |
| 6 | |
| 7 | let b:keymap_name = "syntax-test" |
| 8 | |
| 9 | loadkeymap |
| 10 | |
| 11 | # Line comment |
| 12 | |
| 13 | # Another line comment |
| 14 | |
| 15 | a A Basic mapping |
| 16 | 'a á More than one char in first column |
| 17 | |
| 18 | # Special notation |
| 19 | <char-62> B Special notation allowed in LHS - decimal |
| 20 | c <char-0103> Special notation allowed in RHS - octal |
| 21 | <char-0x0064> <char-0x0044> Special notation allowed in LHS and RHS - hexadecimal |
| 22 | |
| 23 | # Vim-script comment characters |
| 24 | \# <char-0x00a3> Line should not match as a Vim9-script comment |
| 25 | " “ Line should not match as a legacy-script comment |
| 26 | : # Line should not match as a Vim9-script comment |