issue #272 add notify

This commit is contained in:
ray-x 2023-01-19 09:35:46 +11:00
parent 4030487864
commit 9a71c61371

View File

@ -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