feat: split diag window in diag float
This commit is contained in:
parent
a2f7af65e7
commit
d7a8b6cde4
@ -78,6 +78,7 @@ vim.keymap.set("n", "<leader>lr", vim.lsp.buf.references, { silent = true, desc
|
||||
vim.keymap.set("n", "<leader>lR", ":LspRestart<CR>", { silent = true, desc = "LSP: Restart" })
|
||||
vim.keymap.set("n", "<leader>ls", function()
|
||||
vim.diagnostic.open_float(nil, { focus = true, scope = "cursor" })
|
||||
vim.cmd.vsplit()
|
||||
end, { silent = true, desc = "LSP: Diagnostic Open Float" })
|
||||
vim.keymap.set("n", "<leader>lf", function()
|
||||
vim.lsp.buf.format({ async = true })
|
||||
|
Loading…
Reference in New Issue
Block a user