From 3e062cec702b06dbfb6449490ef93e239acfd909 Mon Sep 17 00:00:00 2001 From: braewoods Date: Thu, 31 Oct 2024 13:04:47 -0500 Subject: [PATCH] [C] Update keywords-parens for alignof and static_assert (#4078) I overlooked this previously but I believe this is an optimization for sizeof that would also apply these two that I previously added. --- C++/C.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C++/C.sublime-syntax b/C++/C.sublime-syntax index 7e1f30c5d7..fb969d4b54 100644 --- a/C++/C.sublime-syntax +++ b/C++/C.sublime-syntax @@ -854,7 +854,7 @@ contexts: scope: constant.other.c keywords-parens: - - match: '\b(sizeof)\b\s*(\()' + - match: '\b(sizeof|alignof|_Alignof|static_assert|_Static_assert)\b\s*(\()' captures: 1: keyword.operator.word.c 2: meta.group.c punctuation.section.group.begin.c