From 9a71c6137185291171dcacfbba1f6b85572aab68 Mon Sep 17 00:00:00 2001 From: ray-x Date: Thu, 19 Jan 2023 09:35:46 +1100 Subject: [PATCH] issue #272 add notify --- lua/go/dap.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/go/dap.lua b/lua/go/dap.lua index 01374c8..9e2c9c2 100644 --- a/lua/go/dap.lua +++ b/lua/go/dap.lua @@ -451,6 +451,7 @@ M.run = function(...) -- if breakpoint is not set add breakpoint at current pos local pts = require('dap.breakpoints').get() if utils.empty(pts) then + vim.notify('no breakpoint set, add breakpoint at current line', vim.lsp.log_levels.INFO) require('dap').set_breakpoint() end