-
If I have some set of group definitions defined for one filetype, and then another set of group definitions defined for another filetype, those two groups will override each other when I load up those two filetypes back to back. For example, if I set up in local wk = require('which-key')
wk.add({
{
'<localleader>f',
'Test Group for Python',
mode = 'n',
}
}) And in local wk = require('which-key')
wk.add({
{
'<localleader>f',
'Test Group for Go',
mode = 'n',
}
}) If I open a Python file and hit Any ideas on what I should do to get around this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oh wasn't using the |
Beta Was this translation helpful? Give feedback.
Oh wasn't using the
buffer
field in the which-key specs. That solves the issue!