which-key.nvim
which-key.nvim copied to clipboard
Extend default setup
Hi, I was wondering is there a way to change only one configuration option when setting up which-key?
In my case I want to retain all the defaults but change window.position to 'top'. I know you can extend/merge tables in lua to do this but how would I get a table of the default config in the first place?
This is already the default behavior, you should be able to simply do:
require("which-key").setup {
window = {
position = "top",
},
}