diff --git a/src/themes/theme-template-color-theme.json b/src/themes/theme-template-color-theme.json index c3912ef..b080106 100644 --- a/src/themes/theme-template-color-theme.json +++ b/src/themes/theme-template-color-theme.json @@ -122,19 +122,27 @@ } }, { - "name": "Function, Special Method, Block Level", + "name": "Function, Special Method", "scope": [ "entity.name.function", "meta.function-call", "variable.function", "support.function", - "keyword.other.special-method", - "meta.block-level" + "keyword.other.special-method" ], "settings": { "foreground": "{{variant.scheme.base.blue}}" } }, + { + "name": "Block Level Variables", + "scope": [ + "meta.block variable.other" + ], + "settings": { + "foreground": "{{variant.scheme.base.pink}}" + } + }, { "name": "Other Variable, String Link", "scope": [ diff --git a/test/source.cpp b/test/source.cpp index f0094b3..793837f 100644 --- a/test/source.cpp +++ b/test/source.cpp @@ -8,6 +8,15 @@ #ifdef USE_OPENMP #include #endif +const ; + +finitario crear_finitario(info_t i) { + finitario nuevo = new rep_finitario; + nuevo->dato = i; + nuevo->primerio = NULL; + return nuevo; +} + const ccv_bbf_param_t ccv_bbf_default_params = { .interval = 5, diff --git a/themes/Material-Theme-Darker.json b/themes/Material-Theme-Darker.json index bb7a24b..9b48e8f 100644 --- a/themes/Material-Theme-Darker.json +++ b/themes/Material-Theme-Darker.json @@ -122,19 +122,27 @@ } }, { - "name": "Function, Special Method, Block Level", + "name": "Function, Special Method", "scope": [ "entity.name.function", "meta.function-call", "variable.function", "support.function", - "keyword.other.special-method", - "meta.block-level" + "keyword.other.special-method" ], "settings": { "foreground": "#82AAFF" } }, + { + "name": "Block Level Variables", + "scope": [ + "meta.block variable.other" + ], + "settings": { + "foreground": "#f07178" + } + }, { "name": "Other Variable, String Link", "scope": [ diff --git a/themes/Material-Theme-Default.json b/themes/Material-Theme-Default.json index a154bcb..eab705e 100644 --- a/themes/Material-Theme-Default.json +++ b/themes/Material-Theme-Default.json @@ -122,19 +122,27 @@ } }, { - "name": "Function, Special Method, Block Level", + "name": "Function, Special Method", "scope": [ "entity.name.function", "meta.function-call", "variable.function", "support.function", - "keyword.other.special-method", - "meta.block-level" + "keyword.other.special-method" ], "settings": { "foreground": "#82AAFF" } }, + { + "name": "Block Level Variables", + "scope": [ + "meta.block variable.other" + ], + "settings": { + "foreground": "#f07178" + } + }, { "name": "Other Variable, String Link", "scope": [ diff --git a/themes/Material-Theme-Lighter.json b/themes/Material-Theme-Lighter.json index bdda5b8..2ba76dc 100644 --- a/themes/Material-Theme-Lighter.json +++ b/themes/Material-Theme-Lighter.json @@ -122,19 +122,27 @@ } }, { - "name": "Function, Special Method, Block Level", + "name": "Function, Special Method", "scope": [ "entity.name.function", "meta.function-call", "variable.function", "support.function", - "keyword.other.special-method", - "meta.block-level" + "keyword.other.special-method" ], "settings": { "foreground": "#6182B8" } }, + { + "name": "Block Level Variables", + "scope": [ + "meta.block variable.other" + ], + "settings": { + "foreground": "#FF5370" + } + }, { "name": "Other Variable, String Link", "scope": [ diff --git a/themes/Material-Theme-Palenight.json b/themes/Material-Theme-Palenight.json index 1057329..6e918c2 100644 --- a/themes/Material-Theme-Palenight.json +++ b/themes/Material-Theme-Palenight.json @@ -122,19 +122,27 @@ } }, { - "name": "Function, Special Method, Block Level", + "name": "Function, Special Method", "scope": [ "entity.name.function", "meta.function-call", "variable.function", "support.function", - "keyword.other.special-method", - "meta.block-level" + "keyword.other.special-method" ], "settings": { "foreground": "#82AAFF" } }, + { + "name": "Block Level Variables", + "scope": [ + "meta.block variable.other" + ], + "settings": { + "foreground": "#f07178" + } + }, { "name": "Other Variable, String Link", "scope": [