constinit added to C++ keywords in docs

This commit is contained in:
Mateusz Pusz
2020-09-06 23:54:14 +02:00
parent 31d407d19e
commit f3d9828abd

View File

@@ -189,7 +189,7 @@ class MyCppLexer(MyCFamilyLexer):
'try', 'typeid', 'typename', 'using', 'virtual', 'try', 'typeid', 'typename', 'using', 'virtual',
'constexpr', 'nullptr', 'decltype', 'thread_local', 'constexpr', 'nullptr', 'decltype', 'thread_local',
'alignas', 'alignof', 'static_assert', 'noexcept', 'override', 'alignas', 'alignof', 'static_assert', 'noexcept', 'override',
'final', 'constinit', 'consteval', 'concept', 'co_await', 'final', 'constinit', 'consteval', 'constinit', 'concept', 'co_await',
'co_return', 'co_yield', 'requires', 'import', 'module'), suffix=r'\b'), Keyword), 'co_return', 'co_yield', 'requires', 'import', 'module'), suffix=r'\b'), Keyword),
(r'char(16_t|32_t|8_t)\b', Keyword.Type), (r'char(16_t|32_t|8_t)\b', Keyword.Type),
(r'(class)(\s+)', bygroups(Keyword, Text), 'classname'), (r'(class)(\s+)', bygroups(Keyword, Text), 'classname'),