Fixed C++14 digit separators (#1593)
This commit is contained in:
1 parent
397b61e7c6
commit
a9934c08d9
1 file changed
+2
-2
@@ -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"} },
|
||||||
|
|||||||
Reference in new issue
Block a user