add trouble
side note? why was I using feat and chore and etc?
This commit is contained in:
parent
af16bba334
commit
d65c4083ba
9 changed files with 80 additions and 46 deletions
3
init.lua
3
init.lua
|
|
@ -19,6 +19,9 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
|||
vim.keymap.set("n", "<leader>for", function()
|
||||
vim.lsp.buf.format({ async = true })
|
||||
end, opts)
|
||||
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float, opts)
|
||||
vim.keymap.set("n", "[d", function() vim.diagnostic.jump({ count = -1 }) end)
|
||||
vim.keymap.set("n", "]d", function() vim.diagnostic.jump({ count = 1 }) end)
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue