Skip to content

Commit d644c82

Browse files
committed
Support wordwrap on newlines by default
1 parent 789a5a4 commit d644c82

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

language-configurations/regex.language-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
["(", ")"],
4747
["[", "]"]
4848
],
49-
"wordPattern": "(?<=(?<!\\\\)(\\\\{4})*)(\\\\{4}|\\\\{2}[^\\\\\"]|\\\\u[0-9a-fA-F]{4}|\\\\[bfnrt/\\\\\"])|(?<=\\\\{2}[kg]|\\(\\?\\(?)[<']\\w+[+-]?\\d*['>]?|(?<=\\\\[pP]{\\^?)[a-zA-Z _-][\\w _-]*(?=})|(?<=\\[:\\^?)[a-zA-Z]\\w*(?=:])"
49+
"wordPattern": "(?<=(?<!\\\\)(\\\\{4})*)(\\\\{4}|\\\\{2}[^\\\\\"]|\\\\u[0-9a-fA-F]{4}|\\\\[bfrt/\\\\\"])|(?<=\\\\{2}[kg]|\\(\\?\\(?)[<']\\w+[+-]?\\d*['>]?|(?<=\\\\[pP]{\\^?)[a-zA-Z _-][\\w _-]*(?=})|(?<=\\[:\\^?)[a-zA-Z]\\w*(?=:])"
5050
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@
269269
},
270270
"editor.inlineSuggest.syntaxHighlightingEnabled": true,
271271
"editor.defaultFormatter": "RedCMD.tmlanguage-syntax-highlighter",
272-
"editor.comments.insertSpace": false
272+
"editor.comments.insertSpace": false,
273+
"editor.wrapOnEscapedLineFeeds": true
273274
},
274275
"[json-textmate-regex]": {
275276
"editor.snippetSuggestions": "top",
@@ -283,7 +284,8 @@
283284
"comments": "off"
284285
},
285286
"editor.inlineSuggest.syntaxHighlightingEnabled": true,
286-
"editor.inlineSuggest.enabled": true
287+
"editor.inlineSuggest.enabled": true,
288+
"editor.wrapOnEscapedLineFeeds": true
287289
},
288290
"[yaml-textmate]": {
289291
"editor.tabSize": 2,

0 commit comments

Comments
 (0)