According to the [readme of nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/tree/master?tab=readme-ov-file#configuration) 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](https://github.com/nvim-lua/kickstart.nvim/blob/d350db2449da40df003c40d440f909d74e2d4e70/init.lua#L714C1-L729C5).