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

Workspace configuration variable name. #14

Open
nrz-DC opened this issue Oct 8, 2024 · 0 comments
Open

Workspace configuration variable name. #14

nrz-DC opened this issue Oct 8, 2024 · 0 comments

Comments

@nrz-DC
Copy link

nrz-DC commented Oct 8, 2024

Hi, first ever comment on github here.
Well, in the README it is written that, in order to pass options, one should write a .dir-locals file with the following (as an example):

((nil .
  ((eglot-workspace-configuration
    . (:ltex-ls  (:language  "en-US"
                  :additionalRules (:motherTongue "de-DE")))))))

However, using ltex-ls fails silently and the options are not passed as eglot searches for ltex, finds nothing, does not report any error and passes a null to the actual server.

This works:

((nil .
      ((eglot-workspace-configuration
        .(:ltex  (
                   :language  "fr"
                   :additionalRules (:motherTongue "fr")))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant