replace <space>f with <leader>f

This commit is contained in:
Gabriel Crispino 2024-03-31 06:16:14 +01:00 committed by GitHub
parent 459fe1cd90
commit c36d32979a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ require('lazy').setup({
map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
-- Formats the current buffer -- Formats the current buffer
map('<space>f', function() map('<leader>f', function()
vim.lsp.buf.format { async = true } vim.lsp.buf.format { async = true }
end, '[F]ormat code') end, '[F]ormat code')