removed deprecated function call

This commit is contained in:
2026-04-11 23:20:46 +02:00
parent a298a86fac
commit 223fe81f12

View File

@@ -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,