From d310a4f5d4831580d05d9abf190ca76a41ef4dff Mon Sep 17 00:00:00 2001 From: n3wborn Date: Wed, 20 Sep 2023 17:01:22 +0200 Subject: [PATCH] refac(lsp): replace vim.lsp.get_active_clients --- lua/plugins/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 93b877a..bfafec4 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -111,7 +111,7 @@ return { -- lsp formatting local augroup = vim.api.nvim_create_augroup('LspFormatting', {}) local lsp_formatting = function(bufnr) - local clients = vim.lsp.get_active_clients({ bufnr = bufnr }) + local clients = vim.lsp.get_clients({ bufnr = bufnr }) lsp.buf.format({ bufnr = bufnr,