Diffstat (limited to 'vim/after/syntax/sh.vim')
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim
index 9692ea9f..99c0cc3a 100644
@@ -23,13 +23,16 @@ if exists('b:is_posix')
" Highlight some commands that are both defined by POSIX and builtin
" commands in dash, as a rough but useable proxy for 'shell builtins'. This
- " list was wrested from `man 1 dash`.
+ " list was mostly wrested from `man 1 dash`. Also include control structure
+ " keywords like `break`, `continue`, and `return`.
syntax clear shStatement
syntax keyword shStatement
+ \ break
+ \ continue
@@ -43,6 +46,7 @@ if exists('b:is_posix')
+ \ return