commit 6d962a59fb8e4b45519db9f6903d967c6dfc3eff parent a544d3f3845754c73d2c0f76afb439b0c671ccf1 Author: hhvn <dev@hhvn.uk> Date: Sun, 9 Jan 2022 17:40:44 +0000 .c/n/s/rcshell.vim: add beforecmd to rcHandler Diffstat:
M | .config/nvim/syntax/rcshell.vim | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/nvim/syntax/rcshell.vim b/.config/nvim/syntax/rcshell.vim @@ -132,7 +132,7 @@ syn region rcBrace matchgroup=rcOperator start="{" end="}" c syn match rcFunction "\v<fn\s+\w+>" contains=rcHandler skipwhite nextgroup=rcFnBody syn region rcFnBody matchgroup=rcFunction start="{" end="}" contained contains=@rcList -syn keyword rcHandler prompt sigexit sigabrt sigiot sigalrm sigbus sigfpe sighup sigill sigint sigpipe sigpoll sigquit sigterm sigwinch sigxcpu +syn keyword rcHandler prompt beforecmd sigexit sigabrt sigiot sigalrm sigbus sigfpe sighup sigill sigint sigpipe sigpoll sigquit sigterm sigwinch sigxcpu syn match rcAssign "\w\+\ze\s*=" skipwhite nextgroup=@rcArgument contains=rcVarSpecial