aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-01-01 19:33:52 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-01-02 11:43:18 +0100
commitb8df4b2dffcc6cb408476b41b86d47e46c06fe11 (patch)
tree2f0b3663f5d93ca5b7a99f8b4e88161cd6674664
parent99f1530a4f607b80f21135440e267460485b318a (diff)
downloadrneovim-b8df4b2dffcc6cb408476b41b86d47e46c06fe11.tar.gz
rneovim-b8df4b2dffcc6cb408476b41b86d47e46c06fe11.tar.bz2
rneovim-b8df4b2dffcc6cb408476b41b86d47e46c06fe11.zip
vim-patch:b16fc9805535
runtime(sh): Update sh syntax and add local keyword for bash (vim/vim#13806) add `local` in shStatement https://github.com/vim/vim/commit/b16fc9805535dc6eb084142da0c87210fc102494 Co-authored-by: Lucien Grondin <grondilu@yahoo.fr>
-rw-r--r--runtime/syntax/sh.vim2
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