From 0f5a3d18f0fc56354269f2b2c0215fea948c7c2d Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 14 Feb 2022 14:15:32 +0100 Subject: [PATCH] enable virtual text comments in dap --- .config/nvim/lua/plugins.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 460bc70..7c16ddd 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -7,11 +7,19 @@ return require('packer').startup(function() use 'jose-elias-alvarez/nvim-lsp-ts-utils' use 'rafamadriz/friendly-snippets' use 'mfussenegger/nvim-dap' - use 'theHamsta/nvim-dap-virtual-text' use {'ray-x/guihua.lua', run = 'cd lua/fzy && make'} use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"} } + use { + 'theHamsta/nvim-dap-virtual-text', + config = function() + require("nvim-dap-virtual-text").setup { + commented = true, + } + end + } + use { 'b3nj5m1n/kommentary', config = function()