1
1
mirror of https://github.com/tstack/lnav.git synced 2024-09-11 13:05:51 +03:00

[highlighters] add some keywords

This commit is contained in:
Tim Stack 2022-09-19 20:42:48 -07:00
parent f1deeb5b74
commit b7de0766c8
2 changed files with 8 additions and 1 deletions

View File

@ -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|"

View File

@ -50,7 +50,7 @@
"fatal",
"invalid",
nullptr,
nullptr,
};
log_level_t