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

feature: support <nowait> in lazy keys mapping #600

Closed
1 task done
skippi opened this issue Feb 27, 2023 · 0 comments · Fixed by #601
Closed
1 task done

feature: support <nowait> in lazy keys mapping #600

skippi opened this issue Feb 27, 2023 · 0 comments · Fixed by #601
Labels
enhancement New feature or request

Comments

@skippi
Copy link

skippi commented Feb 27, 2023

Did you check the docs?

  • I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.

If a mapping under keys uses nowait, the "placeholder" mapping should also probably use nowait. Currently the "placeholder" mapping will act as if nowait=false.

Describe the solution you'd like

Add nowait to this line here:

desc = opts.desc,

Describe alternatives you've considered

Setting the mapping via vim.keymap.set instead of keys table. While it certainly avoids the issue, now the plugin doesn't lazy load.

Additional context

No response

@skippi skippi added the enhancement New feature or request label Feb 27, 2023
@folke folke closed this as completed in 1657ae9 Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant