diff --git a/data/plugins/language_cpp.lua b/data/plugins/language_cpp.lua index 4bd08477..b0777dc2 100644 --- a/data/plugins/language_cpp.lua +++ b/data/plugins/language_cpp.lua @@ -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" } },