From 223fe81f121f8a2ed709ffe512fb1be759813bca Mon Sep 17 00:00:00 2001 From: quirinecker Date: Sat, 11 Apr 2026 23:20:46 +0200 Subject: [PATCH] removed deprecated function call --- homemanager/neovim/lua/plugins/spec/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homemanager/neovim/lua/plugins/spec/lsp.lua b/homemanager/neovim/lua/plugins/spec/lsp.lua index 89d72d0..a4c176f 100644 --- a/homemanager/neovim/lua/plugins/spec/lsp.lua +++ b/homemanager/neovim/lua/plugins/spec/lsp.lua @@ -35,7 +35,7 @@ local function keymap(args) -- autoformat - if client.supports_method('textDocument/formatting') then + if client:supports_method('textDocument/formatting') then vim.api.nvim_create_autocmd('BufWritePre', { group = vim.api.nvim_create_augroup('LspFormatting', { clear = true }), buffer = args.buf,