Skip to content

Config is not passed to the LSP with the new multi LSP support #7149

Closed
@Marsevil

Description

@Marsevil

I'm trying to make the new multi LSP support works with ltex-ls and texlab.
My problem is that ltex-ls do not use the en-GB and do not use my custom dictionary. I guess that the config is not passed to the language server.

Here is my config file.

[[language]]
name = "latex"
language-servers = [ "ltex-ls-custom" ,"texlab" ]
file-types = ["tex"]
scope = "source.tex"
roots = []

[language-server.ltex-ls-custom]
command = "ltex-ls"
args = ["--log-file=/tmp"]
config = { language = "en-GB", dictionary = { "en-GB" = ["somecustomwords"] } }

[language-server.texlab]
command = "texlab"

Did I miss something or is it a bug ??

Note : On the last release ltex-ls works as expected.
I renamed the LSP ls-ltex-custom because I already have a default configuration and I would like to be sure that is not a conflict.

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