aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cmake
Commit message (Collapse)AuthorAgeFilesLines
* [cmake] add highlights for `add_custom_target` and `add_custom_command`Uy Ha2021-09-171-0/+18
|
* [cmake] Add highlighting for boolean values (#1801)Uy Ha2021-09-171-0/+4
| | | Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
* [cmake] add highlights for `if` command constantUy Ha2021-09-171-0/+12
|
* [cmake]: Add highlighting for `set` commandUy Ha2021-09-171-0/+14
|
* Highlight function and macro declarationsUy Ha2021-09-171-0/+12
|
* Bind `variable` as @variable instead of `variable_ref`Uy Ha2021-09-171-1/+2
|
* Bind function and macro commands as @keyword.functionUy Ha2021-09-171-4/+1
|
* Bind `variable_ref` as @variable instead of @noneUy Ha2021-09-171-1/+1
|
* [cmake] Add support for generator expressionUy Ha2021-07-061-1/+1
|
* Move macro to `@function.macro` captureUy Ha2021-07-021-1/+4
|
* Change captures:Uy Ha2021-07-021-6/+5
| | | | | | - Disable highlight for `variable_ref` - Capture `ENV` and `CACHE` as `@symbol` - Capture '$', '{', '}', '(', ')' as punctuation
* Remove query for specific keywords for nowUy Ha2021-07-021-71/+0
|
* Add comment parsing and highlight whole bracket argumentUy Ha2021-07-021-2/+7
|
* Fix wrong name:Uy Ha2021-07-021-0/+0
| | | | - `fold.scm` -> `folds.scm`
* Capture `variable_ref` instead of `variable` for `@variable`Uy Ha2021-07-021-1/+1
|
* Change `@parameter` capture to `@string`Uy Ha2021-07-021-3/+2
|
* Move keywords to their appropriate capture:Uy Ha2021-07-021-19/+25
| | | | | - Unary and binary operator to `@keyword.operator` - Boolean constants to `@boolean`
* Highlight only command name instead of the whole callUy Ha2021-07-021-14/+14
|
* Remove non-foldable commands (incorrect copy and paste)Uy Ha2021-07-021-2/+0
|
* Add fold.scmUy Ha2021-07-021-0/+9
|
* Refine highlights.scm:Uy Ha2021-07-021-80/+94
| | | | | | - Match repeat, conditional, etc. to their corresponding commands - Clean up `@parameter` match - Add `$ENV` and `$CACHE` to queries
* Add highlights.scmUy Ha2021-07-021-0/+87