diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-06-26 17:12:10 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-06-26 19:37:12 +0200 |
| commit | 2d224ac3bfd0f3ac4afd458a7f2fb55955ebc38c (patch) | |
| tree | 2af602636938bf02b890c59f4876c3251689f6d8 /queries/cpp/highlights.scm | |
| parent | 75bce1dc93293f4f1dfd1541386afb607f09d726 (diff) | |
Fix cpp-highlights: wrong capture name used in regex
Diffstat (limited to 'queries/cpp/highlights.scm')
| -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 92909f4d..0d8295a1 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 |
