diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-13 06:22:57 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-02-13 08:29:18 +0800 |
| commit | 844a683641bf629cfa74384552124b04932ce8f4 (patch) | |
| tree | 8e7e249ec556f37253e8c7dcb30695378c51b1b4 /test/functional/vimscript/executable_spec.lua | |
| parent | ca701ad947b418c413de31e5acb1e103bb633a03 (diff) | |
| download | rneovim-844a683641bf629cfa74384552124b04932ce8f4.tar.gz rneovim-844a683641bf629cfa74384552124b04932ce8f4.tar.bz2 rneovim-844a683641bf629cfa74384552124b04932ce8f4.zip | |
vim-patch:56033b9: runtime(sh): Fix some ksh-specific deficiencies in syntax script
- 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: vim/vim#19383
https://github.com/vim/vim/commit/56033b9df3ef56d8e37b7927521baf621fd88ab7
Co-authored-by: Johnothan King <johnothanking@protonmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions