Skip to content
Discussion options

You must be logged in to vote

With 43695d2 you should be able to setup a FileType autocmd for dap-repl to override/remove the keymap.

vim.api.nvim_create_autocmd('FileType', {
  pattern = 'dap-repl',
  callback = function(args)
    vim.keymap.del('n', '<CR>', { buffer = args.buf })
  end
})

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nyngwang
Comment options

@nyngwang
Comment options

Answer selected by nyngwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants