Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi segment errors underlined incorrectly with ^^^ #179

Open
drahnr opened this issue Jun 8, 2021 · 0 comments
Open

multi segment errors underlined incorrectly with ^^^ #179

drahnr opened this issue Jun 8, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@drahnr
Copy link
Owner

drahnr commented Jun 8, 2021

Describe the bug

To Reproduce

Steps to reproduce the behaviour:

  1. A file containing arrived *on the destination location*
  2. Run cargo spellcheck f.rs
error: spellcheck(NlpRules)
   --> /media/supersonic1t/projects/parity/polkadot/xcm/src/v0/order.rs:86
    |
 86 |  - `effects`: The orders to execute on the assets once arrived *on the destination location*.
    |                                                        ^^^^^^^^
    | - arrived at
    |
    |   The usual preposition after "arrived" is "at", not "on". Did you mean arrived at?

Expected behavior

Mark the two segments under arrived and on seperately.

Screenshots

Please complete the following information:

  • System: Fedora
  • Obtained: cargo
  • Version: 0.8.5

Additional context

@drahnr drahnr added the bug Something isn't working label Jun 8, 2021
@drahnr drahnr self-assigned this Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant