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": [
"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": [

View file

@ -8,6 +8,15 @@
#ifdef USE_OPENMP
#include <omp.h>
#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,

View file

@ -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": [

View file

@ -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": [

View file

@ -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": [

View file

@ -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": [