aboutsummaryrefslogtreecommitdiffstats
path: root/queries/inko
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-125-321/+0
|
* feat(inko): add support for "for" loopsYorick Peterse2025-02-212-0/+2
| | | | | | These will be introduced as part of the 0.19.0 release. This commit updates the lockfile as well as the relevant queries to accommodate the new expression and "in" now being a keyword.
* feat(inko)!: remove the "class" keyword (#7663)Yorick Peterse2025-02-171-1/+0
| | | | | | This keyword is deprecated as of 0.18.1 (released on February 12, 2025) and is being removed as part of the upcoming 0.19.0 release. BREAKING CHANGE: replace with `type`.
* feat(inko): highlight the "type" keywordYorick Peterse2024-12-241-0/+1
| | | | | This keyword will be released in 0.18.0 and deprecate the "class" keyword, which in turn will be removed in 0.19.0.
* feat(inko): highlight the "copy" keywordYorick Peterse2024-12-041-0/+1
| | | | This keyword is added as part of the upcoming 0.18.0 release.
* feat(inko): highlight "inline" keywordYorick Peterse2024-11-281-2/+3
| | | | | The parser added support for the "inline" keyword in a few places. This ensures a highlight is present for the keyword.
* fix(inko): add highlight for boolean patterns (#7050)Yorick Peterse2024-08-171-0/+2
|
* fix(inko): indent call nodesYorick Peterse2024-05-091-0/+1
| | | | | | | | | | | | | | | | | This ensures that when you add a new call line in the middle of a call chain, the line is indented like so: foo .bar .new_line_here .baz Instead of it being indented like so: foo .bar .new_line_here .baz
* fix(inko): highlighting of numeric call names (#6566)Yorick Peterse2024-05-031-1/+4
| | | | | | | | | | | Inko allows for syntax such as `some_value.42.to_string`, where `42` is a method name. Similar to other languages that allow this (e.g. Rust), these numeric names should be highlighted as numbers instead of identifiers. To fix this, the query to highlight call names is adjusted to only highlight "name" and "constant" nodes as the function group, ensuring the remaining possible node ("integer") continues to use the same group as regular numbers.
* feat(inko): add support for InkoYorick Peterse2024-05-035-0/+311