fix: Improve c++ syntax highlight

This commit is contained in:
Mattia Astorino 2017-05-16 21:28:04 +02:00
parent 3b7c041973
commit 1a927d6dc8
6 changed files with 64 additions and 15 deletions

View file

@ -122,19 +122,27 @@
} }
}, },
{ {
"name": "Function, Special Method, Block Level", "name": "Function, Special Method",
"scope": [ "scope": [
"entity.name.function", "entity.name.function",
"meta.function-call", "meta.function-call",
"variable.function", "variable.function",
"support.function", "support.function",
"keyword.other.special-method", "keyword.other.special-method"
"meta.block-level"
], ],
"settings": { "settings": {
"foreground": "{{variant.scheme.base.blue}}" "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", "name": "Other Variable, String Link",
"scope": [ "scope": [

View file

@ -8,6 +8,15 @@
#ifdef USE_OPENMP #ifdef USE_OPENMP
#include <omp.h> #include <omp.h>
#endif #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 = { const ccv_bbf_param_t ccv_bbf_default_params = {
.interval = 5, .interval = 5,

View file

@ -122,19 +122,27 @@
} }
}, },
{ {
"name": "Function, Special Method, Block Level", "name": "Function, Special Method",
"scope": [ "scope": [
"entity.name.function", "entity.name.function",
"meta.function-call", "meta.function-call",
"variable.function", "variable.function",
"support.function", "support.function",
"keyword.other.special-method", "keyword.other.special-method"
"meta.block-level"
], ],
"settings": { "settings": {
"foreground": "#82AAFF" "foreground": "#82AAFF"
} }
}, },
{
"name": "Block Level Variables",
"scope": [
"meta.block variable.other"
],
"settings": {
"foreground": "#f07178"
}
},
{ {
"name": "Other Variable, String Link", "name": "Other Variable, String Link",
"scope": [ "scope": [

View file

@ -122,19 +122,27 @@
} }
}, },
{ {
"name": "Function, Special Method, Block Level", "name": "Function, Special Method",
"scope": [ "scope": [
"entity.name.function", "entity.name.function",
"meta.function-call", "meta.function-call",
"variable.function", "variable.function",
"support.function", "support.function",
"keyword.other.special-method", "keyword.other.special-method"
"meta.block-level"
], ],
"settings": { "settings": {
"foreground": "#82AAFF" "foreground": "#82AAFF"
} }
}, },
{
"name": "Block Level Variables",
"scope": [
"meta.block variable.other"
],
"settings": {
"foreground": "#f07178"
}
},
{ {
"name": "Other Variable, String Link", "name": "Other Variable, String Link",
"scope": [ "scope": [

View file

@ -122,19 +122,27 @@
} }
}, },
{ {
"name": "Function, Special Method, Block Level", "name": "Function, Special Method",
"scope": [ "scope": [
"entity.name.function", "entity.name.function",
"meta.function-call", "meta.function-call",
"variable.function", "variable.function",
"support.function", "support.function",
"keyword.other.special-method", "keyword.other.special-method"
"meta.block-level"
], ],
"settings": { "settings": {
"foreground": "#6182B8" "foreground": "#6182B8"
} }
}, },
{
"name": "Block Level Variables",
"scope": [
"meta.block variable.other"
],
"settings": {
"foreground": "#FF5370"
}
},
{ {
"name": "Other Variable, String Link", "name": "Other Variable, String Link",
"scope": [ "scope": [

View file

@ -122,19 +122,27 @@
} }
}, },
{ {
"name": "Function, Special Method, Block Level", "name": "Function, Special Method",
"scope": [ "scope": [
"entity.name.function", "entity.name.function",
"meta.function-call", "meta.function-call",
"variable.function", "variable.function",
"support.function", "support.function",
"keyword.other.special-method", "keyword.other.special-method"
"meta.block-level"
], ],
"settings": { "settings": {
"foreground": "#82AAFF" "foreground": "#82AAFF"
} }
}, },
{
"name": "Block Level Variables",
"scope": [
"meta.block variable.other"
],
"settings": {
"foreground": "#f07178"
}
},
{ {
"name": "Other Variable, String Link", "name": "Other Variable, String Link",
"scope": [ "scope": [