From 4cb3eef0974aaa264dff91740239239babb3d53d Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 17 May 2023 14:15:42 -0500 Subject: feat(nvim): add nvim-dap-repl-highlights --- nvim/.config/nvim/lazy-lock.json | 1 + nvim/.config/nvim/lua/plugins/dap.lua | 7 +++++++ nvim/.config/nvim/lua/plugins/treesitter.lua | 1 + 3 files changed, 9 insertions(+) diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index 9723ff3..0583753 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -40,6 +40,7 @@ "nvim-dap": { "branch": "master", "commit": "6cedcb527e264c8f25e86afa8dae74c6692dee51" }, "nvim-dap-go": { "branch": "main", "commit": "b4ded7de579b4e2a85c203388233b54bf1028816" }, "nvim-dap-python": { "branch": "master", "commit": "51ecb08dbff57fca8add396b93dc765aba262e0a" }, + "nvim-dap-repl-highlights": { "branch": "master", "commit": "0e14c948ad39c483ffc24a03238fcf41ae3c8b39" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "ab988dbb7d20cdaebf9b3ef7554a89f6895de042" }, "nvim-jdtls": { "branch": "master", "commit": "355de7458fd63ccef9c6485d952ea118ba2cb46a" }, "nvim-lspconfig": { "branch": "master", "commit": "df58d91c9351a9dc5be6cf8d54f49ab0d9a64e73" }, diff --git a/nvim/.config/nvim/lua/plugins/dap.lua b/nvim/.config/nvim/lua/plugins/dap.lua index 009adb1..c2f7ecf 100644 --- a/nvim/.config/nvim/lua/plugins/dap.lua +++ b/nvim/.config/nvim/lua/plugins/dap.lua @@ -47,6 +47,11 @@ local M = { }, "mfussenegger/nvim-dap-python", "leoluz/nvim-dap-go", + { + "LiadOz/nvim-dap-repl-highlights", + dependencies = { "nvim-treesitter/nvim-treesitter" }, + config = true, + }, { "theHamsta/nvim-dap-virtual-text", dependencies = { "nvim-treesitter/nvim-treesitter" }, @@ -120,6 +125,8 @@ function M.config() vim.fn.sign_define("DapBreakpointRejected", { text = " ", texthl = "debugBreakpoint" }) vim.fn.sign_define("DapLogPoint", { text = " ", texthl = "debugBreakpoint" }) vim.fn.sign_define("DapStopped", { text = " ", texthl = "debugBreakpoint" }) + + require("nvim-dap-repl-highlights") end return M diff --git a/nvim/.config/nvim/lua/plugins/treesitter.lua b/nvim/.config/nvim/lua/plugins/treesitter.lua index 8076edb..86af351 100644 --- a/nvim/.config/nvim/lua/plugins/treesitter.lua +++ b/nvim/.config/nvim/lua/plugins/treesitter.lua @@ -15,6 +15,7 @@ local M = { "cpp", "c_sharp", "css", + "dap_repl", "diff", "gitignore", "go", -- cgit v1.2.3-70-g09d2