Skip to content

Consider switching lsp.servers.*.settings back to lsp.servers.*.config #3265

@jolars

Description

@jolars

#3254 renamed lsp.servers.*.config to lsp.servers.*.settings, but as me and @MattSturgeon discussed in #3261 it is slightly awkward (and maybe somewhat confusing) because settings is a argument of neovim's LSP config API (:h vim.lsp.ClientConfig), which means that we end up with configs that may look like this

lsp.servers.clangd = {
  enable = true;
  settings.settings = {
    # some settings
  };
};

We could revert and use config again. This brings the API more in line with what the it looks on the neovim side, but #3254 was of course merged for good reasons.

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