nvim: remove duplicate <leader>lf LSP format binding
Conform's keybind in editing.lua already handles manual format for all filetypes; the buffer-local LSP binding on LspAttach was shadowing it.
This commit is contained in:
@@ -68,7 +68,6 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||
map("gd", vim.lsp.buf.definition, "Go to definition")
|
||||
map("gi", vim.lsp.buf.implementation, "Go to implementation")
|
||||
map("<leader>D", vim.lsp.buf.type_definition, "Type definition")
|
||||
map("<leader>lf", function() vim.lsp.buf.format({ async = true }) end, "Format")
|
||||
map("<leader>lr", vim.lsp.buf.rename, "Rename symbol")
|
||||
map("<leader>ls", vim.lsp.buf.document_symbol, "Document symbols")
|
||||
map("<leader>lR", vim.lsp.buf.references, "References")
|
||||
|
||||
Reference in New Issue
Block a user