Problem: test_codestyle does not catch all intended whitespace violations in help files.
Solution: Improve the relevant patterns.
[^/]
before <SPACE><TAB>
so we can match this at the start of a line.:help 12.7
.:help 27.6
, this was matching the pattern /[^? ^I]/
rather than the literal text and skipping most of the file.https://github.com/vim/vim/pull/18599
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
@h-east approved this pull request.
Thanks for fixing my elementary mistake of using a double quote string on the right hand side of the regular expression match.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@dkearns pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
It might be better to explicitly match the existing exceptions for the trailing whitespace test (/\~\s\+$/
and /\\\s\+$/
), as there's only six matches in total, and simplify the general pattern to /\s\+$/
?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.