Skip to content

How can I change servers?  #12

@maikol-solis

Description

@maikol-solis

Hi. Thanks for this package, it's very useful.

There is just a little glitch that I don't understand.

In these lines,

eglot-ltex/eglot-ltex.el

Lines 94 to 95 in b61e36f

(add-to-list 'eglot-server-programs
`(,eglot-ltex-active-modes . ,(eglot-ltex--server-command)))

the eglot-ltex adds all the registered modes into eglot-server-programs.

However, I think is will be worthy using the eglot-alternatives command .

According to the documentation

If you have fools and phewls installed, the function produced by eglot-alternatives will prompt for the server to use in foo-mode buffers. Else it will use whichever is available.

So, for example, if I'm in a latex buffer, and start eglot I can choose between texlab or ltex depending on the task that I need to do.

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions