lua vim.diagnostic.setloclist
This commit is contained in:
parent
344a9aa90c
commit
ae90cca3f0
@ -157,7 +157,7 @@ M.lspconfig = function()
|
|||||||
map("n", m.float_diagnostics, "<cmd>lua vim.diagnostic.open_float()<CR>")
|
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_prev, "<cmd>lua vim.diagnostic.goto_prev()<CR>")
|
||||||
map("n", m.goto_next, "<cmd>lua vim.diagnostic.goto_next()<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>")
|
map("n", m.formatting, "<cmd>lua vim.lsp.buf.formatting()<CR>")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user