runtime(sh): refactored sh.vim syntax script

- unified bashStatement, kshStatement and shStatement as much as
  possible
- separated builtin commands from external programs
- cleaned up kornshell flavor logic
- fixed alias syntax highlighting
- added test for bash alias syntax highlighting
- removed daemon keyword

closes: #18355

Signed-off-by: Bjoern Foersterling <bjoern.foersterling@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Bjoern Foersterling
2025-09-23 19:47:29 +00:00
committed by Christian Brabandt
parent da5b6007fb
commit 11bde1f169
18 changed files with 555 additions and 539 deletions

View File

@ -88,7 +88,7 @@ poll --man
# mkservice and eloop (rarely provided; requires SHOPT_MKSERVICE)
mkservice --man; eloop --help
# some mksh builtins
# some mksh builtins, rename should be highlighted as external program
bind; rename
# ;& and ;;& in case statements