`clojure-mode` support on `editorconfig-indentation-alist`
Hello, I'm recently installed copilot.el and tried to use it with Clojure, but I'm getting spammed with the following error:
⛔ Warning (copilot): copilot--infer-indentation-offset found no mode-specific indentation offset.
The problem is that it uses editorconfig-indentation-alist to infer indentation offset. I searched on the editorconfig-indentation-alist but it is missing.
Any idea of how can I get the indentation offset? I don't have much experience with emacs.
Do you mean this:
https://github.com/editorconfig/editorconfig-emacs/blob/b120ccdcd853205e46ccc2f296055d5b09c7f9a0/editorconfig.el#L181
Yes
It seems clojure-mode does not define a variable for indentation offset number, so IMO it cannot be solved by editorconfig plugin. I think this issue should be handled by copilot.el team, and an issue for this has already been filed: https://github.com/copilot-emacs/copilot.el/issues/312