Sorry if I hijack that thread with my question, but I see from the posts that 
the
sh.vim  is intended for use with Kornshell, and I'm also using it for that 
purpose
for quite some time. (Although recently I often set the syntax for ksh sources 
to
zsh because some things are highlighted as errors with sh.vim that are correctly
highlighted with zsh syntax active.)

I noticed with previous releases that Kornshell syntax isn't sensibly 
highlighted
in several non-POSIX places; erroneous syntax is displayed. Examples are
${.../.../...}   types of expansion
.sh.value   types of variables
(( ... ))   arithmetic expressions
$' ... '   ANSI-strings

My question is whether newer versions of sh.vim are supporting these things,
whether it's on the radar, or whether someone is even already working on fixes
in that area?


Another question is whether highlighting of in Shell embedded Awk source code
could be officially supported. Someone once provided me with an add-on (that I
had put is some user directory beneath ~/.vim/ ) but that wasn't working 
correctly
in all respects and sadly that add-on also vanished with a system crash I had.

Thanks.

Janis

________________________________________
Von: [email protected] <[email protected]> im Auftrag von dkearns 
<[email protected]>
Gesendet: Mittwoch, 13. Mai 2026 14:39
An: vim/vim
Cc: Subscribed
Betreff: Re: [vim/vim] runtime/syntax/sh.vim: Array highlighting (Issue #20183)

[https://avatars.githubusercontent.com/u/19326]dkearns left a comment 
(vim/vim#20183)<https://github.com/vim/vim/issues/20183#issuecomment-4441045594>

Thanks.

Simply rearranging the the "Identifier" and "Functions" sections doesn't appear 
to generate any highlighting differences in the Kornshell test directory 
either. However, I haven't investigated how thoroughly they're testing this 
area yet so keeping it as a more localised fix, as you've done in 
#2025<https://github.com/vim/vim/issues/2025>, probably makes sense. This 
syntax file, as you know, is a bit fragile.

—
Reply to this email directly, view it on 
GitHub<https://github.com/vim/vim/issues/20183#issuecomment-4441045594>, or 
unsubscribe<https://github.com/notifications/unsubscribe-auth/ACY5DGBKR75AHYJK2UGHAB342RUG7AVCNFSM6AAAAACYYEYX2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DINBRGA2DKNJZGQ>.
Triage notifications on the go with GitHub Mobile for 
iOS<https://apps.apple.com/app/apple-store/id1477376905> or 
Android<https://play.google.com/store/apps/details>.
You are receiving this because you are subscribed to this thread.Message ID: 
<vim/vim/issues/20183/[email protected]>

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20183/4441045594%40github.com<https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20183/4441045594%40github.com?utm_medium=email&utm_source=footer>.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/DU0PR02MB10422735AEDA59EBB58F422F1F3062%40DU0PR02MB10422.eurprd02.prod.outlook.com.

Raspunde prin e-mail lui