Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clojure-mode support on editorconfig-indentation-alist #337

Open
soyPabloG opened this issue May 28, 2024 · 3 comments
Open

clojure-mode support on editorconfig-indentation-alist #337

soyPabloG opened this issue May 28, 2024 · 3 comments

Comments

@soyPabloG
Copy link

soyPabloG commented May 28, 2024

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.

@xuhdev
Copy link
Member

xuhdev commented May 28, 2024

Do you mean this:

(defcustom editorconfig-indentation-alist

@soyPabloG
Copy link
Author

Yes

@10sr
Copy link
Member

10sr commented Jun 2, 2024

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: copilot-emacs/copilot.el#312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants