aboutsummaryrefslogtreecommitdiffstats
path: root/queries/qmljs
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-123-125/+0
|
* feat: standardize and document export keywordsRiley Bruins2024-05-131-1/+0
| | | | | | Many export keywords are captured as `@keyword.import`. This commit makes it so they are all captured like that, and mentions it in the documentation.
* feat: more `@keyword.type` capturesRiley Bruins2024-05-011-4/+7
|
* feat(qml): add back `ecma` inheritanceRiley Bruins2024-04-252-39/+5
| | | | | Fixed after the grammar dependencies were updated. This time inheritance is given to the injections queries also.
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-25/+20
|
* feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier`Jaehwang Jung2024-03-161-1/+1
|
* chore(qmljs): temporarily remove the ecma inheritAmaan Qureshi2024-01-311-1/+1
|
* chore: query formattingPham Huy Hoang2024-01-191-46/+47
|
* feat!: align standard captures with upstreamChristian Clason2024-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* feat: @spell on commentsJaehwang Jung2023-09-121-1/+1
|
* perf: remove match where possibleAmaan Qureshi2023-04-211-1/+1
|
* highlights(qmljs): fix capturesObserverOfTime2022-11-261-19/+18
|
* feat(qmljs): booleanShootingStarDragons2022-09-021-2/+6
| | | | | | boolean is not in the right color, so fix it Log: fix the color of boolean for qmljs
* add ui_binding to fold (#3191)Access2022-07-171-0/+1
|
* Fix and add some highlight (#3168)Access2022-07-122-2/+20
|
* add fold support to qml (#3132)Access2022-07-071-0/+6
|
* add qmljs (#3126)Access2022-07-071-0/+133