[vim/vim] runtime(sh): Selectively suppress classes of errors (PR #20935)

2 views
Skip to first unread message

Aliaksei Budavei

unread,
Aug 3, 2026, 7:06:49 PM (16 hours ago) Aug 3
to vim/vim, Subscribed

As a refinement upon g:sh_no_error, support suppression of
only certain classes of errors. Look up syntax rule names
and list them with:

let g:sh_no_error_rules = ["shCurlyError", "shParenError"]

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20935

Commit Summary

  • e1739e8 runtime(sh): Do not conflate comments and function declarations in Bash
  • 7ca1fbf runtime(sh): Fix shFunctionTwo and shFunctionFour definitions for Bash
  • b1636c1 runtime(sh): Selectively suppress classes of errors
  • f8b5cc7 squash! runtime(sh): Selectively suppress classes of errors
  • 4574efb squash! runtime(sh): Selectively suppress classes of errors

File Changes

(11 files)

Patch Links:


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

Reply all
Reply to author
Forward
0 new messages