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

How to use dictionary with ltex-cli? #283

Open
dpo opened this issue Nov 11, 2023 · 3 comments
Open

How to use dictionary with ltex-cli? #283

dpo opened this issue Nov 11, 2023 · 3 comments
Labels
1-question ❓ Issue type: General or specific question about LTeX

Comments

@dpo
Copy link

dpo commented Nov 11, 2023

Could you please help me understand how to use a dictionary defined in a JSON settings file with ltex-cli? Here is what I have:

❯ cat ltex.json
{
  "ltex.language": "en-US",
  "ltex.dictionary": {
    "en-US": [
      "GERAD",
    ]
  }
}

❯  echo "I am at GERAD" | ltex-cli --client-configuration=$PWD/ltex.json -

I am at GERAD
        Use 'GERALD'
        Use 'GERARD'
        Use 'GRAD'
        Use 'GÉRARD'

So it seems like the dictionary entry is simply ignored. What am I doing wrong?

@dpo dpo added the 1-question ❓ Issue type: General or specific question about LTeX label Nov 11, 2023
@dpo
Copy link
Author

dpo commented Nov 13, 2023

Not sure if I should have opened this issue over at https://github.com/valentjn/lsp-cli.

@dpo
Copy link
Author

dpo commented Dec 16, 2023

Bump

@dpo
Copy link
Author

dpo commented Apr 25, 2024

Does the dictionary option work for anybody?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-question ❓ Issue type: General or specific question about LTeX
Projects
None yet
Development

No branches or pull requests

1 participant