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

chore: test harness #84

Merged
merged 9 commits into from
Apr 22, 2024
Merged

chore: test harness #84

merged 9 commits into from
Apr 22, 2024

Conversation

hjdivad
Copy link
Owner

@hjdivad hjdivad commented Mar 7, 2023

Add back testing

  • use neotest
  • impl a simple map_stack for use in DAP keybindings

@hjdivad
Copy link
Owner Author

hjdivad commented Jan 7, 2024

Highest value here is being able to upgrade lazyvim more confidently

Lets me push keymaps onto a stack and then restore the previous set of
keymaps.  I plan on doing this when configuring DAP.

Right now it doesn't work very well with buffer-local keymaps, but I
think I don't really have to care.  If that changes, adding buffer-local
support is not hard.  Right now my save/restore logic uses
`vim.fn.{maparg, mapset}`.  To get proper buffer-keymap support I'd have
to essentially re-implement these functions but that doesn't seem like a
lot of work.
@hjdivad hjdivad marked this pull request as ready for review April 22, 2024 14:52
@hjdivad hjdivad merged commit d9030df into master Apr 22, 2024
1 check passed
@hjdivad hjdivad deleted the hjdivad/tests branch April 22, 2024 14:53
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

1 participant