feat(nvim): add binding to open line diagnostic on float
This commit is contained in:
parent
c68d87c320
commit
14fdcd0d39
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ return {
|
|||
keys[#keys + 1] = { prefix .. "r", "<cmd>LspRestart<cr>", desc = "Restart Lsp" }
|
||||
keys[#keys + 1] = { prefix .. "s", "<cmd>LspStart<cr>", desc = "Start Lsp" }
|
||||
keys[#keys + 1] = { prefix .. "S", "<cmd>LspStop<cr>", desc = "Stop Lsp" }
|
||||
keys[#keys + 1] = { "E", vim.diagnostic.open_float, desc = "Line Diagnostics" }
|
||||
|
||||
-- stylua: ignore start
|
||||
keys[#keys + 1] = { prefix .. "W", function() vim.lsp.buf.remove_workspace_folder() end, desc = "Remove workspace" }
|
||||
|
|
Loading…
Add table
Reference in a new issue