[vim/vim] syntax/sh.vim: 'login' keyword wrongly highlighted (Issue #20735)

3 views
Skip to first unread message

Danilo Rezende

unread,
Jul 8, 2026, 4:31:52 PM (14 hours ago) Jul 8
to vim/vim, Subscribed
returnDanilo created an issue (vim/vim#20735)

Steps to reproduce

View a .sh file with syntax enabled:

printf /foo/login

Notice how 'login' is highlighted with highlighting item shStatement.

Expected behaviour

Expected 'login' not to be highlighted.

Upon bisecting, I found this bug has been introduced by #18355; so pinging the author: @bfoersterling

(As this file has no maintainer, I'm creating this issue instead of contacting them directly)

Version of Vim

9.2.0782


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/20735@github.com>

Reply all
Reply to author
Forward
0 new messages