Skip to content

Replace outdated require('lspconfig')[server_name].setup()Β #1502

@oiiiiiiii

Description

@oiiiiiiii

According to the readme of nvim-lspconfig the syntax require('lspconfig')[server_name].setup() is outdated and instead

vim.lsp.config(server_name, {
  -- Server-specific settings. See `:help lsp-quickstart`
})

should be used. This old syntax is used in the mason-lspconfig setup.

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