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

plugins/whichkey: Support window and layout fields #1167

Closed
alexpetrean80 opened this issue Feb 27, 2024 · 2 comments
Closed

plugins/whichkey: Support window and layout fields #1167

alexpetrean80 opened this issue Feb 27, 2024 · 2 comments

Comments

@alexpetrean80
Copy link

alexpetrean80 commented Feb 27, 2024

In lua wc.setup can take some optional parameters that can change the way the helper looks, e.g.

wc.setup({
  window = { margin = {1, 0, 0, 0.8 }, border = "single"},
  layout = { height = {min = 4, max = 150}, align = "left" },
})

That seem to be missing from nixvim.plugins.which-key and they would be nice to have.

@alexpetrean80
Copy link
Author

After looking over plugins/utils/which-key I realised the options exist, they are just not documented.

@khaneliman
Copy link
Contributor

Closing as supporting plugin's options in #1990 and also allowing undocumented
options.

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

No branches or pull requests

2 participants