diff options
author | Lucien Grondin <grondilu@yahoo.fr> | 2024-01-01 19:00:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 19:00:41 +0100 |
commit | b16fc9805535dc6eb084142da0c87210fc102494 (patch) | |
tree | ef72f75c4f83dc3c614b17edbb4913820338da8d /runtime/syntax | |
parent | d08059ab48b822a25060b8a486085371ddeebcf7 (diff) |
runtime(sh): Update sh syntax and add local keyword for bash (#13806)
add `local` in shStatement
Signed-off-by: Lucien Grondin <grondilu@yahoo.fr>
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 e2b1947197..a83c020c91 100644 --- a/runtime/syntax/sh.vim +++ b/runtime/syntax/sh.vim @@ -620,7 +620,7 @@ elseif exists("b:is_bash") syn keyword shStatement bg builtin disown export false fg getopts jobs let printf sleep true unalias syn keyword shStatement typeset nextgroup=shSetOption syn keyword shStatement fc hash history source suspend times type - syn keyword shStatement bind builtin caller compopt declare dirs disown enable export help logout mapfile popd pushd readarray shopt source typeset + syn keyword shStatement bind builtin caller compopt declare dirs disown enable export help logout local mapfile popd pushd readarray shopt source typeset else syn keyword shStatement login newgrp endif |