Hello, I read the docs but still have problems configuring major mode for python. I want to add keybinding: SPC m = u should run command ruff.executeFormat (only for python buffers). How do I do it? I tried different things eg:
"whichkey.bindingOverrides": [
{
"keys": ["m.=.u", "languageId:python"],
"name": "Format",
"type": "command",
"command": "ruff.executeFormat",
}
],
or
"whichkey.bindingOverrides": [
{
"keys": ["m", "languageId:python", "=", "u"],
"name": "Ruff Format",
"type": "command",
"command": "ruff.executeFormat",
}
],
But nothing works - the u / "Ruff format" is not shown in SPC m = submenu for python buffers.
Hello, I read the docs but still have problems configuring major mode for python. I want to add keybinding:
SPC m = ushould run commandruff.executeFormat(only for python buffers). How do I do it? I tried different things eg:or
But nothing works - the
u/ "Ruff format" is not shown inSPC m =submenu for python buffers.