mapping just a name key doesn't seem to work #564
Replies: 1 comment
-
I was having the same problem until I realized it actually is setting the name, it's just getting overridden with the default when the group name isn't specified in subsequent calls to You might just need to name your group after the rest of your key bindings, and assign the binding to the buffer if you're going to do it in local on_attach = function(_, bufnr)
-- wk.register({....}) -- Create other key bindings first.
-- Then register the group name
wk.register({
L = { name = "LSP" },
}, {
prefix = "<leader>",
buffer = bufnr,
})
-- Don't register any more key bindings in the `L` group after that unless you also name the group again. It should also work if you combine the bindings into one call to |
Beta Was this translation helpful? Give feedback.
-
whickey config (redacted unimportant info)
but for some reason L is showing just
+prefix
I've also tried this inside my lspconfig
also doesn't work
Beta Was this translation helpful? Give feedback.
All reactions