aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cmake
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-124-260/+0
|
* feat: more comment injectionsRiley Bruins2024-06-151-0/+5
|
* bot(lockfile): update cmake, elixir, pymanifest, requirements, sqlnvim-treesitter-bot[bot]2024-06-061-2/+0
|
* feat(awk,cmake,python,r,starlark): deactivate spelling in shebangsKai Moschcau2024-05-011-1/+1
|
* feat(highlights)!: `@keyword.storage` → `@keyword.modifier`Jaehwang Jung2024-03-161-3/+3
|
* feat(format-scripts): linewrap predicates再生花2024-02-231-22/+15
| | | "format-ignore".kick()
* chore: format queriesPhạm Huy Hoàng2024-01-211-2/+2
|
* fix(highlights): improve consistencyObserverOfTime2024-01-191-1/+1
|
* chore: query formattingPham Huy Hoang2024-01-193-117/+127
|
* refactor: manual pre-cleanupPham Huy Hoang2024-01-191-14/+18
| | | | | Moving comments, adding `format-ignore` to lines that will be better with it
* feat!: align standard captures with upstreamChristian Clason2024-01-191-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
* indents(cmake): dedent brackets, else, endwhileBeartama2023-06-291-3/+6
| | | | | | | * feat(cmake): dedent for all closing brackets * feat(cmake): indent an argument according to its previous peer * fix(cmake); fix typo, add dedent `endwhile`
* fix(cmake): end indentation after normal_command nodeUy Ha2023-06-281-0/+1
|
* feat(cmake): update cmake parser, adapt highlight.scm, and add indents.scmUy Ha2023-06-282-43/+92
|
* perf: remove match where possibleAmaan Qureshi2023-04-211-4/+4
|
* highlights(cmake): match digits and @ in unquoted argumentsMatthias Vogelgesang2023-03-111-1/+1
|
* use lua-match where possibleUy Ha2023-02-271-2/+2
|
* move the catch uppercase query to the top to make it overridable, add back ↵Uy Ha2023-02-271-4/+73
| | | | the more useful queries
* add highlighting for elseifUy Ha2023-02-271-0/+12
|
* only match unquoted argumentsUy Ha2023-02-271-6/+6
|
* simplify cmake highlight queriesUy Ha2023-02-271-136/+2
|
* add queries `project` and `cmake_minimum_required`v0.8.1v0.8.0Uy Ha2022-12-131-0/+14
|
* remove redundant parenthesesUy Ha2022-12-131-13/+13
|
* bind ENV and CACHE as @storageclassUy Ha2022-12-131-1/+1
|
* add OUTPUT_VARIABLE query for list TRANSFORMUy Ha2022-12-131-0/+9
|
* rearrange queries, include all builtin commands in one queryUy Ha2022-12-131-44/+49
|
* add highlight for `list` commandUy Ha2022-12-131-0/+39
|
* add highlight for `unset` commandUy Ha2022-12-131-0/+13
|
* add queries for block, return, break, continue, and includeUy Ha2022-12-131-2/+35
|
* feat(cmake): add block_def to foldUy Ha2022-12-131-0/+1
|
* highlights: use @preproc where appropriateObserverOfTime2022-10-151-0/+3
|
* feat(spell): support more languagesLewis Russell2022-09-261-1/+1
|
* feat(cmake): add escape to highlightShootingStarDragons2022-08-271-0/+1
| | | | | | add escape word like "\n", "\;" to highlight Log: escape sequence highlight for cmake
* Rename capturesUy Ha2022-02-051-8/+8
|
* Improve `set` queriesUy Ha2022-02-051-9/+34
|
* [cmake] add highlights for `add_custom_target` and `add_custom_command`Uy Ha2021-09-101-0/+18
|
* [cmake] Add highlighting for boolean values (#1801)Uy Ha2021-09-101-0/+4
| | | Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
* [cmake] add highlights for `if` command constantUy Ha2021-09-101-0/+12
|
* [cmake]: Add highlighting for `set` commandUy Ha2021-09-091-0/+14
|
* Highlight function and macro declarationsUy Ha2021-09-081-0/+12
|
* Bind `variable` as @variable instead of `variable_ref`Uy Ha2021-09-081-1/+2
|
* Bind function and macro commands as @keyword.functionUy Ha2021-09-081-4/+1
|
* Bind `variable_ref` as @variable instead of @noneUy Ha2021-09-081-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
|