fix nvim config

changes in lspconf api
This commit is contained in:
LordMZTE 2022-07-01 14:12:26 +02:00
parent a40cd140cb
commit 5de0bd4e76
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -60,4 +60,4 @@ map("n", "-a", "<cmd>lua vim.lsp.buf.code_action()<CR>", opts)
map("n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>", opts) map("n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>", opts)
map("n", "<space>e", "<cmd>lua vim.diagnostic.open_float()<CR>", opts) map("n", "<space>e", "<cmd>lua vim.diagnostic.open_float()<CR>", opts)
map("n", "-d", "<cmd>lua vim.diagnostic.goto_next()<CR>", opts) map("n", "-d", "<cmd>lua vim.diagnostic.goto_next()<CR>", opts)
map("n", "-r", "<cmd>lua vim.lsp.buf.format { asnyc = true }<CR>", opts) map("n", "-r", "<cmd>lua vim.lsp.buf.formatting()<CR>", opts)