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(which_key): only get telescope mappings #2090

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

fdschmidt93
Copy link
Member

Description

Change action_utils.get_registered_mappings to only capture mappings attached to prompt via telescope interfaces, as the interface would break otherwise currently anyway (and it's unclear whether other mappings should be showing up.. because then you'd attach them via telescope).

Fixes #2087

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Having installed nvim-surround (and reproduce with original issue)
  • Observing no errors

Configuration:

See above

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@fdschmidt93 fdschmidt93 merged commit 8c56301 into nvim-telescope:master Jul 19, 2022
@fdschmidt93 fdschmidt93 deleted the fix/which-key-cb branch July 19, 2022 19:59
Conni2461 pushed a commit that referenced this pull request Jul 22, 2022
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.

Global keymaps with callback break which-key
1 participant