mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 03:47:10 +04:00
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 <vidplace7@gmail.com>
This commit is contained in:
1 parent
93a34793be
commit
8c29bd78ac
1 file changed
+3
Vendored
+3
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"git.alwaysSignOff": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"[diff]": {
|
||||
"files.trimTrailingWhitespace": false
|
||||
},
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.eol": "\n",
|
||||
|
||||
Reference in new issue
Block a user