Commit Graph
9070 Commits
Author SHA1 Message Date
Matt EllisandAlex Plãte b11fc4895b Support assigning to negative index 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte b7ce946af3 Extract sublist expression assignment
Also allows whitespace inside indexed expression
2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 5a45f6d945 Improve evaluating indexed expressions
Support negative indexes, float indexes, and indexing numbers
2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 6622f15ea3 Allow dictionary to be indexed by Float 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte fd1fe51633 Extract indexed expression assignment 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 91459edf6c Rename OneElementSublistExpression 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 01d92acd40 Improve validation for concatenation 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 6d18288883 Fix validation for modulo operator 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 7ffca59450 Support double-dot concatenation assignment 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 61df4f342d Support Float in concatenation handler
Surprisingly Float is converted to String, and then concatenated. But this is only supported for the binary concatenation operator, not the compound assignment concatenation operator. This lead to improved validation and behaviour closer to Vim.
2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte cb1c0298ff Improve exception handling in tests 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 56d5af6bc9 Allow assigning Float to Register 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 1dbe3e4aa1 Update RegisterExpression to assign value 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 7256731572 Rename Register to RegisterExpression 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte dc5b45a52d Update OptionExpression to match Vim behaviour 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 063317b0c9 Introduce LValueExpression, update OptionExpression 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 37b6768148 Rename LetCommand.variable to lvalue 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 5ce2887391 Extract and add tests for sublist expressions 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 4ab91150d6 Extract and add tests for indexed expressions 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 9ddd074916 Extract tests for let command with register lvalue 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte a321bb28c0 Extract tests for let command with option lvalue 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 8c9df332aa Add tests for let command with variable lvalue 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 356a748181 Add tests for let command operators 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 7fe01cd885 Add string() Vim function 2025-10-02 17:26:38 +03:00
Matt EllisandAlex Plãte 68f0e162e2 Update out of date error message 2025-10-02 17:26:38 +03:00
Xinhe WangandAlex Plãte f25b9fd9bf Fix uppercase keys in NERDTree 2025-10-02 17:12:23 +03:00
Alex Plate 168fa309ae Add an instruction that an external plugin should be installed 2025-10-02 17:07:24 +03:00
Alex Plate 2c6638fe37 Introduce a common getChar implementation in the injector 2025-10-02 17:05:06 +03:00
3d2375e937 Update doc/IdeaVim Plugins.md
Thanks!

Co-authored-by: Thomas Gautvedt <thomas.gautvedt@gmail.com>
2025-10-02 17:04:55 +03:00
magidcandAlex Plãte c8ea045ef9 Added plugins Vim-Dial and Vim-AnyObject to plugins document 2025-10-02 17:04:55 +03:00
dependabot[bot]andgithub-actions[bot] c2d7f40512 Bump org.mockito.kotlin:mockito-kotlin from 6.0.0 to 6.1.0
Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: org.mockito.kotlin:mockito-kotlin
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 19:18:24 +03:00
dependabot[bot]andgithub-actions[bot] 23191a221d Bump org.junit.jupiter:junit-jupiter from 5.13.4 to 6.0.0
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 5.13.4 to 6.0.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r6.0.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 18:41:44 +03:00
dependabot[bot]andgithub-actions[bot] ac4a55d245 Bump org.junit.vintage:junit-vintage-engine from 5.13.4 to 6.0.0
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 5.13.4 to 6.0.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r6.0.0)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 18:22:54 +03:00
dependabot[bot]andgithub-actions[bot] f834ef2ef3 Bump org.junit:junit-bom from 5.13.4 to 6.0.0
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework) from 5.13.4 to 6.0.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r6.0.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 15:17:29 +00:00
dependabot[bot]andgithub-actions[bot] 7ec1428915 Bump io.ktor:ktor-client-core from 3.2.3 to 3.3.0
Bumps [io.ktor:ktor-client-core](https://github.com/ktorio/ktor) from 3.2.3 to 3.3.0.
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/3.2.3...3.3.0)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-core
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 18:17:33 +03:00
Matt EllisandAlex Plãte b6ffc7a357 Use injector instead of directly using helper 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte 6f259f5207 Extract E474 error message 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte a9e503d13f Extract error messages from code 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte 5297193649 Assert full error message, not partial
There's no good reason to only check a partial match. Make sure the entire string is correct.
2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte 4c84241d2a Remove unnecessary error text messages
Let the IDE do this from the code
2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte 612dfe321c Fix typo 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte c0f9f0bcbc Rename cryptic error messages to error codes 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte e7769e33d7 Remove or rename unnecessary messages 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte c725447c00 Refactor messages for ActionListCommand 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte 920ac0546e Replace custom errors with error codes 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte c5e3c9ccf1 Rename messages to be more consistent 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte f8d5d049bc Simplify code to remove duplicate error message 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte 5c45c62c5b Rename some error message identifiers 2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte f1d0206c66 Refactor code to remove unnecessary messages
The code doesn't require nullable arguments, which removes null check error messages. Also removed some "not implemented" messages from resources. There's no need for them to be in resources, hopefully we'll implement them soon.
2025-09-16 16:33:40 +03:00
Matt EllisandAlex Plãte e00960ebbc Tidy up host message bundle 2025-09-16 16:33:40 +03:00