diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-11-03 00:20:56 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-11-03 10:04:55 +0100 |
commit | d4dc1355eda78ca2a8aece08d1ab6c6bc1e91505 (patch) | |
tree | 4e7b0afdf20b84d9bd43d838a8cfb1b85de8c2ad | |
parent | 80cf1ee2c5a0a4b68d0a21916a7ebd7f723fb6b7 (diff) | |
download | rneovim-d4dc1355eda78ca2a8aece08d1ab6c6bc1e91505.tar.gz rneovim-d4dc1355eda78ca2a8aece08d1ab6c6bc1e91505.tar.bz2 rneovim-d4dc1355eda78ca2a8aece08d1ab6c6bc1e91505.zip |
vim-patch:1858e2b22ad1
runtime(sh) Update sh syntax and add shDblParen to shCaseList (vim/vim#13469)
https://github.com/vim/vim/commit/1858e2b22ad168b1fd44a4efcd3a2b6cd9f6772d
Co-authored-by: Lucien Grondin <grondilu@yahoo.fr>
-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 |