Word selection is incomplete for C++ identifiers containing certain allowed characters. Fixes #121343

This commit is contained in:
Martin Aeschlimann 2021-04-26 22:07:56 +02:00
parent 4f37102dc0
commit 553d92817b

View file

@ -23,6 +23,7 @@
["'", "'"],
["<", ">"]
],
"wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
"folding": {
"markers": {
"start": "^\\s*#pragma\\s+region\\b",