Fix: unmap key, command

This commit is contained in:
ray-x 2021-07-15 00:15:15 +10:00
parent a65af41408
commit b499269a9d
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ function go.setup(cfg)
vim.cmd(
[[command! DapRerun require'dap'.disconnect();require'dap'.stop();require'dap'.run_last()]])
vim.cmd([[command! GoDbgStop require'go.dap'.stop()]])
vim.cmd([[command! GoDbgStop lua require'go.dap'.stop()]])
end

View File

@ -120,7 +120,7 @@ M.stop = function()
vim.cmd(cmd)
end
vim.cmd([[uvmap p]])
vim.cmd([[vunmap p]])
require'dap'.disconnect()
require'dap'.stop();
require"dap".repl.close()