Update format command

main
Ensar Sarajčić 2023-05-23 17:39:57 +02:00
parent 42b2f2f464
commit 9ee9ec2a44
1 changed files with 1 additions and 1 deletions

View File

@ -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" })