From 9ee9ec2a44da6d531b18ce33df2a1d6d1cc73e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Tue, 23 May 2023 17:39:57 +0200 Subject: [PATCH] Update format command --- symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua b/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua index 5cb11a2..567a612 100644 --- a/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua +++ b/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua @@ -77,4 +77,4 @@ vim.api.nvim_create_user_command( vim.diagnostic.setloclist, { desc = "Show LSP buffer warnings in a location list" } ) -vim.api.nvim_create_user_command("Format", vim.lsp.buf.formatting, { desc = "Format current buffer using LSP" }) +vim.api.nvim_create_user_command("Format", vim.lsp.buf.format, { desc = "Format current buffer using LSP" })