lua vim.diagnostic.setloclist

This commit is contained in:
Erasin 2021-12-23 20:54:42 +08:00 committed by siduck
parent 344a9aa90c
commit ae90cca3f0

View file

@ -157,7 +157,7 @@ M.lspconfig = function()
map("n", m.float_diagnostics, "<cmd>lua vim.diagnostic.open_float()<CR>")
map("n", m.goto_prev, "<cmd>lua vim.diagnostic.goto_prev()<CR>")
map("n", m.goto_next, "<cmd>lua vim.diagnostic.goto_next()<CR>")
map("n", m.set_loclist, "<cmd>lua vim.diagnostic.set_loclist()<CR>")
map("n", m.set_loclist, "<cmd>lua vim.diagnostic.setloclist()<CR>")
map("n", m.formatting, "<cmd>lua vim.lsp.buf.formatting()<CR>")
end