replace <space>f with <leader>f
This commit is contained in:
parent
459fe1cd90
commit
c36d32979a
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
|
@ -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')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue