mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Improved fix for #23850
This commit is contained in:
parent
798043dc18
commit
e671ee9722
|
@ -780,7 +780,7 @@
|
|||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -860,7 +860,7 @@
|
|||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1013,7 +1013,7 @@
|
|||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1050,7 +1050,7 @@
|
|||
"end": "(?=^\\s*((#)\\s*(?:elif|else|endif)\\b))",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1110,7 +1110,7 @@
|
|||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1147,7 +1147,7 @@
|
|||
"end": "(?=^\\s*((#)\\s*(?:elif|else|endif)\\b))",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
"end": "(?=^\\s*((#)\\s*(?:elif|else|endif)\\b))",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1253,7 +1253,7 @@
|
|||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1355,7 +1355,7 @@
|
|||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1444,7 +1444,7 @@
|
|||
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
@ -1531,7 +1531,7 @@
|
|||
"end": "(?=^\\s*((#)\\s*endif\\b))",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "\\G",
|
||||
"begin": "\\G(?=.)(?!//|/\\*(?!.*\\\\\\s*\\n))",
|
||||
"end": "(?=//)|(?=/\\*(?!.*\\\\\\s*\\n))|(?<!\\\\)(?=\\n)",
|
||||
"name": "meta.preprocessor.c",
|
||||
"patterns": [
|
||||
|
|
|
@ -100,24 +100,24 @@
|
|||
},
|
||||
{
|
||||
"c": "#",
|
||||
"t": "source.cpp meta.preprocessor.c",
|
||||
"t": "source.cpp meta.preprocessor.c keyword.control.directive.conditional.c punctuation.definition.directive.c",
|
||||
"r": {
|
||||
"dark_plus": "meta.preprocessor: #569CD6",
|
||||
"light_plus": "meta.preprocessor: #0000FF",
|
||||
"dark_vs": "meta.preprocessor: #569CD6",
|
||||
"light_vs": "meta.preprocessor: #0000FF",
|
||||
"hc_black": "meta.preprocessor: #569CD6"
|
||||
"dark_plus": "keyword.control: #C586C0",
|
||||
"light_plus": "keyword.control: #AF00DB",
|
||||
"dark_vs": "keyword.control: #569CD6",
|
||||
"light_vs": "keyword.control: #0000FF",
|
||||
"hc_black": "keyword.control: #C586C0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "endif",
|
||||
"t": "source.cpp meta.preprocessor.c entity.name.function.preprocessor.c",
|
||||
"t": "source.cpp meta.preprocessor.c keyword.control.directive.conditional.c",
|
||||
"r": {
|
||||
"dark_plus": "entity.name.function: #DCDCAA",
|
||||
"light_plus": "entity.name.function: #795E26",
|
||||
"dark_vs": "meta.preprocessor: #569CD6",
|
||||
"light_vs": "meta.preprocessor: #0000FF",
|
||||
"hc_black": "entity.name.function: #DCDCAA"
|
||||
"dark_plus": "keyword.control: #C586C0",
|
||||
"light_plus": "keyword.control: #AF00DB",
|
||||
"dark_vs": "keyword.control: #569CD6",
|
||||
"light_vs": "keyword.control: #0000FF",
|
||||
"hc_black": "keyword.control: #C586C0"
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue