From fc59aa483e6fb0399ade0453f5486023ba202072 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Fri, 24 Feb 2023 16:32:11 -0500 Subject: [PATCH] Replace usage of depracated formatting function --- lua/keybindings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/keybindings.lua b/lua/keybindings.lua index 15fe505..e70a027 100644 --- a/lua/keybindings.lua +++ b/lua/keybindings.lua @@ -73,7 +73,7 @@ local on_attach = function(client, bufnr) map('n', '[d', function() vim.diagnostic.goto_prev() end, options) map('n', ']d', function() vim.diagnostic.goto_next() end, options) map('n', 'Q', function() vim.diagnostic.set_qflist() end, options) - map('n', 'F', function() vim.lsp.buf.formatting() end, options) + map('n', 'F', function() vim.lsp.buf.format() end, options) end