Update mappings.lua

This commit is contained in:
Adrian Filip 2023-04-29 00:51:38 +03:00 committed by GitHub
parent 6cc50bd773
commit 03dba07e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ return {
["<leader>ae"] = {function() vim.diagnostic.setqflist({ severity = "E" }) end, desc = "All workspace errors"},
["<leader>aw"] = {function() vim.diagnostic.setqflist({ severity = "W" }) end, desc = "All workspace warnings"},
["<leader>d"] = {vim.diagnostic.setloclist, desc = "Buffer diagnostics" },
["<leader>mf"] = {vim.lsp.buf.formatting, desc = "Format" },
["<leader>mf"] = {vim.lsp.buf.format, desc = "Format" },
["[c"] = {function() vim.diagnostic.goto_prev({ wrap = false }) end, desc = "Previous diagnostic" },
["]c"] = {function() vim.diagnostic.goto_next({ wrap = false }) end, desc = "Next diagnostic" },