From 7d75f3e7b5d998406085bb888d9964a27e35c8a4 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Wed, 15 Oct 2025 23:04:02 +0200 Subject: [PATCH] =?UTF-8?q?neovim:=E2=80=AFAdapt=20to=20lsp=20module=20ren?= =?UTF-8?q?ame?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- neovim/config/lsp.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/neovim/config/lsp.nix b/neovim/config/lsp.nix index 41556bb..3c708e8 100644 --- a/neovim/config/lsp.nix +++ b/neovim/config/lsp.nix @@ -164,7 +164,7 @@ servers = { nixd = { enable = true; - settings.settings = { + config.settings = { options = let getFlake = ''(builtins.getFlake "${flake}")''; @@ -180,7 +180,7 @@ dartls.enable = true; clangd = { enable = true; - settings.cmd = [ + config.cmd = [ "clangd" "--header-insertion=never" ]; @@ -188,7 +188,7 @@ tinymist.enable = true; efm = { enable = true; - settings = { + config = { init_options = { documentFormatting = true; }; @@ -209,7 +209,7 @@ # ginko_ls.enable = true; mesonlsp = { enable = true; - settings.root_markers = [ + config.root_markers = [ [ "meson_options.txt" "meson.options" @@ -221,7 +221,7 @@ yamlls.enable = true; ltex = { enable = true; - settings = { + config = { on_attach = helpers.mkRaw '' function(client, bufnr) require("ltex_extra").setup{