Fixed C++14 digit separators (#1593)
This commit is contained in:
parent
397b61e7c6
commit
a9934c08d9
|
@ -14,9 +14,9 @@ syntax.add {
|
||||||
{ pattern = { "/%*", "%*/" }, type = "comment" },
|
{ pattern = { "/%*", "%*/" }, type = "comment" },
|
||||||
{ pattern = { '"', '"', '\\' }, type = "string" },
|
{ pattern = { '"', '"', '\\' }, type = "string" },
|
||||||
{ pattern = { "'", "'", '\\' }, type = "string" },
|
{ pattern = { "'", "'", '\\' }, type = "string" },
|
||||||
{ pattern = "0x%x+", type = "number" },
|
{ pattern = "0x%x+[%x']*", type = "number" },
|
||||||
{ pattern = "%d+[%d%.'eE]*f?", type = "number" },
|
{ pattern = "%d+[%d%.'eE]*f?", type = "number" },
|
||||||
{ pattern = "%.?%d+f?", type = "number" },
|
{ pattern = "%.?%d+[%d']*f?", type = "number" },
|
||||||
{ pattern = "[%+%-=/%*%^%%<>!~|:&]", type = "operator" },
|
{ pattern = "[%+%-=/%*%^%%<>!~|:&]", type = "operator" },
|
||||||
{ pattern = "##", type = "operator" },
|
{ pattern = "##", type = "operator" },
|
||||||
{ pattern = "struct%s()[%a_][%w_]*", type = {"keyword", "keyword2"} },
|
{ pattern = "struct%s()[%a_][%w_]*", type = {"keyword", "keyword2"} },
|
||||||
|
|
Loading…
Reference in New Issue