The username, group, and netgroup patterns in the sudoers syntax file used \l\+ which only matched pure lowercase letters. Linux usernames commonly contain hyphens, digits, and underscores (e.g. www-data, deploy01, test_user), so these weren't getting highlighted.
Changed \l\+ to \l[-a-z0-9_]* in all 12 affected patterns (UserName, Group, UserNetgroup across all four contexts).
Closes #18963
https://github.com/vim/vim/pull/19396
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@e-kwsm did not re-act to the original issue, so I'll merge it and leave a not in the syntax script. Thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Sorry, I didn't notice the issue. Thank you for your work.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()