mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-05-28 00:21:57 +02:00
56033b9df3
- Amend syntax highlighting to allow for ksh93 discipline function names
(e.g. 'foo.get()') and mksh's odd function naming idiosyncrasies
(shNamespaceOne was introduced to enforce stricter naming rules for
ksh93 namespaces).
- Remove 'bind' from ksh93 syntax (such a builtin has never been
implemented in ksh93).
- 'xgrep' is only available in ksh93v- as an alternative way to
invoke the builtin 'grep -X', so reflect that in the syntax
highlighting.
- Forbid bash-style 'function name() {' syntax when highlighting
ksh88 and ksh93 scripts.
- Fix bug causing ' ()' to be incorrectly validated in mksh scripts.
- Add the many ksh93/ksh2020 .sh.* variables to the list of special
variables.
- Amend iskeyword to allow '.' so that '.sh.tilde.get' and such are
valid function names/variable names. (For mksh functions starting
with odd characters like '%' and '@' this would probably have too
many bad side effects, so I've omitted such a change for that shell.)
- Add new syntax tests and regenerate syntax dump files
closes: #19383
Signed-off-by: Johnothan King <johnothanking@protonmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
970 B
Plaintext
Generated
21 lines
970 B
Plaintext
Generated
|g+0#af5f00255#ffffff0|r|e|p| +0#0000000&@70
|
|
|h+0#af5f00255&|e|a|d| +0#0000000&@70
|
|
|i+0#af5f00255&|c|o|n|v| +0#0000000&@10|#+0#0000e05&| |9|3|v|-| +0#0000000&@52
|
|
|i+0#af5f00255&|d| +0#0000000&@72
|
|
|j+0#af5f00255&|o|i|n| +0#0000000&@70
|
|
>l+0#af5f00255&|n| +0#0000000&@72
|
|
|l+0#af5f00255&|o|g|n|a|m|e| +0#0000000&@67
|
|
|l+0#af5f00255&|s| +0#0000000&@13|#+0#0000e05&| |9|3|v|-| +0#0000000&@52
|
|
|m+0#af5f00255&|d|5|s|u|m| +0#0000000&@68
|
|
|m+0#af5f00255&|k|d|i|r| +0#0000000&@69
|
|
|m+0#af5f00255&|k|f|i|f|o| +0#0000000&@68
|
|
|m+0#af5f00255&|k|t|e|m|p| +0#0000000&@68
|
|
|m+0#af5f00255&|v| +0#0000000&@72
|
|
|o+0#af5f00255&|d| +0#0000000&@13|#+0#0000e05&| |9|3|v|-| +0#0000000&@52
|
|
|p+0#af5f00255&|a|s|t|e| +0#0000000&@69
|
|
|p+0#af5f00255&|a|t|h|c|h|k| +0#0000000&@67
|
|
|r+0#af5f00255&|e|a|d|l|i|n|k| +0#0000000&@7|#+0#0000e05&| |9|3|v|-| +0#0000000&@52
|
|
|r+0#af5f00255&|e|a|l|p|a|t|h| +0#0000000&@7|#+0#0000e05&| |9|3|v|-| +0#0000000&@52
|
|
|r+0#af5f00255&|e|v| +0#0000000&@71
|
|
@57|4|7|,|1| @9|2|1|%|
|