When I open some code (I have tried C, python, and elisp) and try to do “SPC c f” to format a buffer or region, the function throws an error. This error happens regardless of if I have a region highlighted or not. I also get this error if I try to run it interactively via M-x.
Wrong type argument: commandp, +format/region-or-buffer
I expected the region to be formatted by lsp if active and some fallback function otherwise.
- Open buffer containing code
- use “SPC c f” keybinding
Ubuntu 22.04.3 LTS WSL
Loading data dump...