Skip to content

Commit

Permalink
fix(keymappings): fix line diagnostics mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ecosse3 committed May 15, 2022
1 parent b9211b5 commit 13ccc51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/keymappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ keymap("v", "<leader>ca", "<cmd>'<,'>lua vim.lsp.buf.range_code_action()<CR>", s
keymap("n", "<leader>cr", "<cmd>lua vim.lsp.buf.rename()<CR>", silent)
keymap("n", "<leader>cf", "<cmd>lua vim.lsp.buf.format({ async = true })<CR>", silent)
keymap("v", "<leader>cf", "<cmd>'<.'>lua vim.lsp.buf.range_formatting()<CR>", silent)
keymap("n", "<leader>cl", "<cmd>lua vim.diagnostic.open_float({ border = 'rounded', max_width = 100 })<CR>", silent)
keymap("n", "K", "<cmd>lua vim.lsp.buf.hover()<CR>", silent)
keymap("n", "L", "<cmd>lua vim.lsp.buf.signature_help()<CR>", silent)
keymap("n", "]g", "<cmd>lua vim.diagnostic.goto_next({ float = { border = 'rounded', max_width = 100 }})<CR>", silent)
Expand Down

0 comments on commit 13ccc51

Please sign in to comment.