0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(vim): Update base-syntax, disallow '.' at start of menu item names (#14232)

Disallow '.' at the start of a menu item name.

This is the menu path separator character and should be escaped with a
'\' in this case.

Partially fixes #14230.  "popup" is still incorrectly matched as the Ex
command.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
dkearns
2024-03-20 04:04:42 +11:00
committed by GitHub
parent 702f7923f6
commit ec21bafc13
8 changed files with 59 additions and 25 deletions

View File

@@ -17,4 +17,4 @@
@8|\+0#e000e06&| +0#0000000&@2|c|o|n|f|i|r|m| |c|l|o|s|e| |<+0#e000e06&|B|a|r|>| +0#0000000&@43
@8|"+0#0000e05&|\| |c|o|m@1|e|n|t| +0#0000000&@56
@8|\+0#e000e06&| +0#0000000&|e|n|d|i|f|<+0#e000e06&|C|R|>| +0#0000000&@55
@57|5@1|,|2|-|9| @7|8|9|%|
@57|5@1|,|2|-|9| @7|7|1|%|