diff options
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/highlights.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 92909f4d9..0d8295a1d 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -52,7 +52,7 @@ ((call_expression function: (field_expression field: (field_identifier) @constructor)) -(#match? @function "^[A-Z]")) +(#match? @constructor "^[A-Z]")) ;; constructing a type in a intizializer list: Constructor (): **SuperType (1)** ((field_initializer @@ -64,8 +64,7 @@ ; Constants -;(this) @constant.builtin -(this) @keyword +(this) @constant.builtin (nullptr) @constant (true) @boolean |
