mirror of
https://github.com/vim/vim.git
synced 2026-09-30 13:15:54 +02:00
- 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
533 B
Plaintext
Generated
21 lines
533 B
Plaintext
Generated
| +0&#ffffff0@7|f|o@1| @63
|
|
|}+0#e000e06&| +0#0000000&@73
|
|
@75
|
|
|+@1|(+0#e000e06&|)| +0#0000000&|{+0#e000e06&| +0#0000000&@68
|
|
@8|f|o@1| @63
|
|
>}+0#e000e06&| +0#0000000&@73
|
|
@75
|
|
|+|a|+|(+0#e000e06&|)| +0#0000000&|{+0#e000e06&| +0#0000000&@67
|
|
@8|f|o@1| @63
|
|
|}+0#e000e06&| +0#0000000&@73
|
|
@75
|
|
|-|#|a|(+0#e000e06&|)| +0#0000000&|{+0#e000e06&| +0#0000000&@67
|
|
@8|f|o@1| @63
|
|
|}+0#e000e06&| +0#0000000&@73
|
|
@75
|
|
|-|?|a|(+0#e000e06&|)| +0#0000000&|{+0#e000e06&| +0#0000000&@67
|
|
@8|f|o@1| @63
|
|
|}+0#e000e06&| +0#0000000&@73
|
|
@75
|
|
@57|1|0|8|,|1| @8|9|5|%|
|