aboutsummaryrefslogtreecommitdiffstats
path: root/queries/angular
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-125-173/+0
|
* feat(angular): update highlights for template literalsDennis van den Berg2025-03-291-0/+8
|
* feat(angular): update highlight queryricardo.demeterko2024-10-021-2/+5
|
* feat: add indentation queries for angularDennis van den Berg2024-07-171-0/+15
|
* feat!: update angular parser to new majorDennis van den Berg2024-07-171-7/+0
| | | | | BREAKING CHANGE: This changes the capture groups for all Control Flow statements.
* feat(angular): Add support for ICU expressions. (#6288)Dennis van den Berg2024-04-301-0/+10
|
* fix: add highlights for static member expression (#6393)Dennis van den Berg2024-04-121-1/+4
|
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-9/+6
|
* fix(angular): typo in capture name (#6249)Dennis van den Berg2024-03-041-1/+1
|
* feat(format): extra newline after modelinePhạm Huy Hoàng2024-02-291-0/+1
|
* fix(angular): nullish coalescing operator in Angular templates (#6052)Dennis van den Berg2024-02-061-0/+3
|
* feat(angular)!: switch to parser supporting v17 (#5779)Dennis van den Berg2024-01-275-28/+92
|
* chore: query formattingPham Huy Hoang2024-01-191-17/+26
|
* feat!: align standard captures with upstreamChristian Clason2024-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* fixup: use any-of instead of vim-matchChristian Clason2023-11-261-2/+2
|
* feat: add angular parser and queriesChristian Clason2023-11-261-0/+67