Handle static constexpr in language_cpp (#1806)

This commit is contained in:
fgelm01 authored and takase1121 committed 2024-06-23 10:08:08 +08:00
1 parent ce70fcf5dd
commit 9c7f1bede4
1 file changed
+9
+9
View File
@@ -38,6 +38,15 @@ syntax.add {
{ pattern = "static()%s+()inline",
type = { "keyword", "normal", "keyword" }
},
{ pattern = "static()%s+()constexpr",
type = { "keyword", "normal", "keyword" }
},
{ pattern = "static()%s+()constinit",
type = { "keyword", "normal", "keyword" }
},
{ pattern = "static()%s+()consteval",
type = { "keyword", "normal", "keyword" }
},
{ pattern = "static()%s+()const",
type = { "keyword", "normal", "keyword" }
},