diff options
author | Lucien Grondin <grondilu@yahoo.fr> | 2023-11-02 20:33:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 20:33:56 +0100 |
commit | 1858e2b22ad168b1fd44a4efcd3a2b6cd9f6772d (patch) | |
tree | 16775bf71f0402a4a5992d45ace47a12af702bbd /runtime/syntax | |
parent | 1b1c9f272ddfa5f1d7d903cd9d59320cb97bfd4b (diff) |
runtime(sh) Update sh syntax and add shDblParen to shCaseList (#13469)
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/sh.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim index d64c3a9b08..0fb10f0e51 100644 --- a/runtime/syntax/sh.vim +++ b/runtime/syntax/sh.vim @@ -140,7 +140,7 @@ syn cluster shArithList contains=@shArithParenList,shParenError syn cluster shCaseEsacList contains=shCaseStart,shCaseLabel,shCase,shCaseBar,shCaseIn,shComment,shDeref,shDerefSimple,shCaseCommandSub,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote,shCtrlSeq,@shErrorList,shStringSpecial,shCaseRange syn cluster shCaseList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shCommandSubBQ,shComment,shDblBrace,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq if exists("b:is_kornshell") || exists("b:is_bash") - syn cluster shCaseList add=shForPP + syn cluster shCaseList add=shForPP,shDblParen endif syn cluster shCommandSubList contains=shAlias,shArithmetic,shCmdParenRegion,shCommandSub,shComment,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shEcho,shEscape,shExDoubleQuote,shExpr,shExSingleQuote,shHereDoc,shNumber,shOperator,shOption,shPosnParm,shHereString,shRedir,shSingleQuote,shSpecial,shStatement,shSubSh,shTest,shVariable syn cluster shCurlyList contains=shNumber,shComma,shDeref,shDerefSimple,shDerefSpecial |