From e0a7bdbcba86ce101cdbe43c1d0c27597694df14 Mon Sep 17 00:00:00 2001 From: fgelm01 Date: Wed, 5 Jun 2024 06:25:33 -0400 Subject: [PATCH] Change co_wait to co_await in language_cpp (#1800) The C++20 keyword is spelled `co_await`. --- data/plugins/language_cpp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/language_cpp.lua b/data/plugins/language_cpp.lua index 88f0770f..4efd50ed 100644 --- a/data/plugins/language_cpp.lua +++ b/data/plugins/language_cpp.lua @@ -133,7 +133,7 @@ syntax.add { ["this"] = "keyword", ["thread_local"] = "keyword", ["requires"] = "keyword", - ["co_wait"] = "keyword", + ["co_await"] = "keyword", ["co_return"] = "keyword", ["co_yield"] = "keyword", ["decltype"] = "keyword",