diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-09-08 21:09:51 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-08 22:03:57 +0200 |
| commit | 39d5b97bc543227861f52eec276d1e9a62b1d8d6 (patch) | |
| tree | afba95db735ae6b9ac0bfab2467d7b1cbd86fb0b /queries | |
| parent | 985c5def34d45d4ba9de19b5d624bacf2ee22c12 (diff) | |
feat(C++ highlights): highlight operator_name as function
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/cpp/highlights.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index a81efa89..38bb7f2f 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -48,6 +48,8 @@ name: (identifier) @constructor)) (#match? @constructor "^[A-Z]")) +(operator_name) @function + (call_expression function: (scoped_identifier name: (identifier) @function)) |
