aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/cpp/highlights.scm
Commit message (Collapse)AuthorAge
* C++: Improve parameter highlightingMichael Davis2024-03-21
| | | | | | | | | | | | | This adds parameter highlighting for reference parameters and defaulted parameters. For example: ```cpp auto strip_prefix_only(std::string& s, Hidden_Homonym skip_hidden_homonym = {}) const -> Affixing_Result<Prefix>; ``` Previously both parameters were only highlighted as variables.
* Fix C++ queries and update tree-sitter-cpp (#7285)Dimitri Sabadie2023-06-07
|
* c/c++ highlighting: various tweaksSam McCall2022-10-15
| | | | | | | | | | - treat `restrict`/`_Atomic` like `const`/`volatile` => @keyword.storage.modifier - highlight `unsigned int` as builtin => @type.builtin - recognize `static_cast` and friends => @keyword - `template` is a kind of entity like `typename` => @keyword.storage.type - many declaration modifiers have nothing to do with storage/types (explicit, friend, access specifiers, inline in C++) => @keyword - fix floats highlighted as integer => @constant.numeric
* c/c++ highlights: *& are @type or @operator based on context (#4278)Sam McCall2022-10-15
|
* Fix C++ syntax highlighting, and improve C & WGSL highlighting (#4079)Chickenkeeper2022-10-14
|
* update cpp queries (#930)Houkime2021-10-29
| | | Co-authored-by: Houkime <>
* Import tree sitter queries.Blaž Hrastnik2021-04-08