[vim/vim] False error syntax for .sh: loop/subshell/case (Issue #21420)

0 views
Skip to first unread message

Lars Lindqvist

unread,
8:36 AM (3 hours ago) 8:36 AM
to vim/vim, Subscribed
e5150 created an issue (vim/vim#21420)

Steps to reproduce

:set ft=sh and insert valid code like:

while :
do
	(
		case "$var" in
		1) true;;
		a) echo;; # treated as shParenError
		esac # false shEsacError
	) # another shParenError
done

Expected behaviour

No errors indicated by the syntax highlighting.

Version of Vim

9.2.1161

Environment

Suse leap 16.0
rxvt-unicode-256color

Logs and stack traces

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/21420@github.com>

Reply all
Reply to author
Forward
0 new messages