Merge branch 'dev' into mercury

nvim: fix lsp formatting
This commit is contained in:
David JULIEN 2023-01-07 22:51:22 +01:00
commit 4821cc75f6
Signed by: swytch
GPG Key ID: 498590A3AA82A06F

View File

@ -38,7 +38,7 @@ local on_attach = function(_, bufnr)
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, opts)
vim.keymap.set("n", "<leader>ln", vim.diagnostic.goto_next, opts)
vim.keymap.set("n", "<leader>lp", vim.diagnostic.goto_prev, opts)
vim.keymap.set("n", "<leader>lf", vim.lsp.buf.formatting, opts)
vim.keymap.set("n", "<leader>lf", vim.lsp.buf.format, opts)
vim.keymap.set("n", "<C-k>", vim.lsp.buf.signature_help, opts)
vim.keymap.set("n", "<leader>wa",
vim.lsp.buf.add_workspace_folder, opts)