]> git.99rst.org Git - openwrt-packages.git/commit
vscode: exclude .patch files from trimTrailingWhitespace
authorAustin Lane <redacted>
Thu, 17 Sep 2026 00:19:11 +0000 (20:19 -0400)
committerJosef Schlehofer <redacted>
Thu, 17 Sep 2026 05:21:56 +0000 (07:21 +0200)
commit8c29bd78acca44d2815f465d6208033e5114dcfe
treef0f9462c95bdfe161fa72d56103591125212ff2a
parent93a34793be4416febf6dd835ad3aa97c26b27dd7
vscode: exclude .patch files from trimTrailingWhitespace

Editing .patch files containing unmodified newlines
(represented by a single space) in vscode results in a dirty patch
as these spaces are stripped.

Set trimTrailingWhitespace = false for diff-language files (.patch)

Signed-off-by: Austin Lane <redacted>
.vscode/settings.json
git clone https://git.99rst.org/PROJECT