From d7a8b6cde45bc6830acb8b4aeb687312b57ce5b1 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 17 Jan 2023 17:02:38 -0600 Subject: [PATCH] feat: split diag window in diag float --- dots/.nvim-environments/primary/config/lua/plugins/mappings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua index 00392f2e..b7c36522 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua @@ -78,6 +78,7 @@ vim.keymap.set("n", "lr", vim.lsp.buf.references, { silent = true, desc vim.keymap.set("n", "lR", ":LspRestart", { silent = true, desc = "LSP: Restart" }) vim.keymap.set("n", "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", "lf", function() vim.lsp.buf.format({ async = true })