Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dap-keymap): simplify keymap implementation #905

Merged
merged 3 commits into from
Jul 28, 2023
Merged

Conversation

Jint-lzxy
Copy link
Collaborator

IMO the cognitive complexity of changes introduced by #902 is too high. This PR makes dap-keymap.lua do whatever it should have done - delete old keymaps and restore them when appropriate.

@fecet
Copy link
Contributor

fecet commented Jul 28, 2023

Maybe https://github.com/anuvyklack/keymap-amend.nvim is good to look at

@Jint-lzxy Jint-lzxy marked this pull request as draft July 28, 2023 04:42
@Jint-lzxy
Copy link
Collaborator Author

Maybe https://github.com/anuvyklack/keymap-amend.nvim is good to look at

a16fb12

@Jint-lzxy
Copy link
Collaborator Author

Done :D

@Jint-lzxy Jint-lzxy marked this pull request as ready for review July 28, 2023 06:02
@Jint-lzxy Jint-lzxy merged commit 372d3c9 into main Jul 28, 2023
4 checks passed
@Jint-lzxy Jint-lzxy deleted the fix/dap-keymap branch July 28, 2023 09:19
YuCao16 pushed a commit to YuCao16/nvimdots that referenced this pull request Jul 28, 2023
* fix(dap-keymap): simplify keymap implementation

* Implement keymap module

* fix(dap-keymap)!: simplify keymap implementation
@CharlesChiuGit CharlesChiuGit removed their request for review July 28, 2023 15:06
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this pull request Jul 28, 2023
* fix(dap-keymap): simplify keymap implementation

* Implement keymap module

* fix(dap-keymap)!: simplify keymap implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants