Skip to content

Workspace configuration variable name. #14

@nrz-DC

Description

@nrz-DC

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")))))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions