diff --git a/src/textfile_highlighters.cc b/src/textfile_highlighters.cc index 9a44bd65..278f8b1f 100644 --- a/src/textfile_highlighters.cc +++ b/src/textfile_highlighters.cc @@ -164,8 +164,10 @@ setup_highlights(highlight_map_t& hm) "\\bchar\\b|" "\\bclass\\b|" "\\bconst\\b|" + "\\bconstexpr\\b|" "\\bconst_cast\\b|" "\\bcontinue\\b|" + "\\bdecltype\\b|" "\\bdefault\\b|" "\\bdelete\\b|" "\\bdo\\b|" @@ -173,6 +175,7 @@ setup_highlights(highlight_map_t& hm) "\\bdynamic_cast\\b|" "\\belse\\b|" "\\benum\\b|" + "\\bexplicit\\b|" "\\bextends\\b|" "\\bextern\\b|" "\\bfalse\\b|" @@ -194,6 +197,8 @@ setup_highlights(highlight_map_t& hm) "\\bnamespace\\b|" "\\bnative\\b|" "\\bnew\\b|" + "\\bnoexcept\\b|" + "\\bnullptr\\b|" "\\boperator\\b|" "\\bpackage\\b|" "\\bprivate\\b|" @@ -214,6 +219,7 @@ setup_highlights(highlight_map_t& hm) "\\bsynchronized\\b|" "\\btemplate\\b|" "\\bthis\\b|" + "\\bthread_local\\b|" "\\bthrow\\b|" "\\bthrows\\b|" "\\btransient\\b|" @@ -221,6 +227,7 @@ setup_highlights(highlight_map_t& hm) "\\btrue\\b|" "\\btypedef\\b|" "\\btypeid\\b|" + "\\btypename\\b|" "\\bunion\\b|" "\\bunsigned\\b|" "\\busing\\b|" diff --git a/test/expected/test_text_file.sh_87943c6be50d701a03e901f16493314c839af1ab.out b/test/expected/test_text_file.sh_87943c6be50d701a03e901f16493314c839af1ab.out index 025dac67..ae062149 100644 --- a/test/expected/test_text_file.sh_87943c6be50d701a03e901f16493314c839af1ab.out +++ b/test/expected/test_text_file.sh_87943c6be50d701a03e901f16493314c839af1ab.out @@ -50,7 +50,7 @@ "fatal", "invalid", - nullptr, + nullptr, }; log_level_t