aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/highlights.scm
Commit message (Collapse)AuthorAge
* 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
|
* Fix missing C highlightsMichael Davis2022-08-31
| | | | | | * "const" keyword * booleans * <=/>= operators
* Introduce storage_class highlight scope (#2731)Anton Romanov2022-06-14
|
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* runtime: Query improvementsBlaž Hrastnik2021-09-06
|
* VSCode Dark+ Theme (#414)Kirawi2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Add VSCode Dark+ Theme wip wip wip wip wip wip properly detect constants add bool wip * suggestion * add variant for c/c++ * fix hexcode error * removed regex highlight * fixed constant higlighting * wip * add space * add suggestions * update theme * update book * suggestions * fix c/c++ enum * update book
* Fix C highlighting inconsistencies.Blaž Hrastnik2021-04-23
|
* Import tree sitter queries.Blaž Hrastnik2021-04-08