From 7cbb6a74180165ad28150b31c2c2a1992dea5c87 Mon Sep 17 00:00:00 2001 From: gus Date: Mon, 7 Apr 2025 12:00:14 -0400 Subject: [PATCH] Fix: lsp.start_client() deprecated In Neovim 0.13, feature vim.lsp.start_client() is deprecated. Using vim.lsp.start() instead. --- lua/llm/language_server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/llm/language_server.lua b/lua/llm/language_server.lua index 0ca04c2..676b5e5 100644 --- a/lua/llm/language_server.lua +++ b/lua/llm/language_server.lua @@ -202,7 +202,7 @@ function M.setup() cmd = { bin_path } end - local client_id = lsp.start_client({ + local client_id = lsp.start({ name = "llm-ls", cmd = cmd, cmd_env = config.get().lsp.cmd_env,