From 0d8208d722b6561d2500efb4d40cee624f1045f3 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 21 Jun 2025 11:21:15 +0200 Subject: [PATCH] nvim: Add highlights to nvim-dap repl --- nvim/.config/nvim/lazy-lock.json | 1 + nvim/.config/nvim/lua/plugins/testing.lua | 22 ++++++++-------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index bdd0f91..96da360 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -58,6 +58,7 @@ "nvim-coverage": { "branch": "main", "commit": "a939e425e363319d952a6c35fb3f38b34041ded2" }, "nvim-dap": { "branch": "master", "commit": "6a5bba0ddea5d419a783e170c20988046376090d" }, "nvim-dap-python": { "branch": "master", "commit": "261ce649d05bc455a29f9636dc03f8cdaa7e0e2c" }, + "nvim-dap-repl-highlights": { "branch": "master", "commit": "307cff2c364d3bf02501d59c405a817967fcd5fb" }, "nvim-dap-view": { "branch": "main", "commit": "fc0315087a871f9e74ef88559760b81dae81bc6d" }, "nvim-lint": { "branch": "master", "commit": "9dfb77ef6c5092a19502883c02dc5a02ec648729" }, "nvim-lspconfig": { "branch": "master", "commit": "77d3fdfb3554632c7a3b101ded643d422de7626f" }, diff --git a/nvim/.config/nvim/lua/plugins/testing.lua b/nvim/.config/nvim/lua/plugins/testing.lua index 8b9de35..c3a4419 100644 --- a/nvim/.config/nvim/lua/plugins/testing.lua +++ b/nvim/.config/nvim/lua/plugins/testing.lua @@ -152,22 +152,16 @@ return { { "mfussenegger/nvim-dap", dependencies = { - -- { - -- "rcarriga/nvim-dap-ui", - -- config = true, - -- keys = { - -- { - -- "sb", - -- function() - -- require("dapui").toggle({}) - -- end, - -- desc = "Dap UI", - -- }, - -- }, - -- }, + { + "LiadOz/nvim-dap-repl-highlights", + opts = {}, + build = ":TSInstall dap_repl", + dependencies = { "nvim-treesitter/nvim-treesitter" }, + }, + { "igorlfs/nvim-dap-view", - opts = {}, + opts = { winbar = { controls = { enabled = true } } }, keys = { { "sb",