spacemacs

Martynas Maciulevičius 2022-07-11T10:17:44.215569Z

Hey. Does anyone have any success of using editorconfig for clojure with Spacemacs? I think it doesn't pick up the config šŸ¤” It works for HTML and other things but I think it doesn't work for Clojure. I tried to look into github issues of CIDER and clojure-mode but there are no discussions about this. Should I open an issue in any of those or is it my local set up problem? Does anyone have it working? I want to be able to switch editor into nvim but first I want to make .editorconfig that would make the formatting consistent.

Martynas Maciulevičius 2022-07-11T13:04:56.173379Z

I found that spacemacs should be the "source of truth" for clojure formatting. But that doesn't make it easy because when I open things in nvim then this is my formatting:

(Thread/setDefaultUncaughtExceptionHandler
  (reify Thread$UncaughtExceptionHandler
And in Spacemacs it's
(Thread/setDefaultUncaughtExceptionHandler
 (reify Thread$UncaughtExceptionHandler
So that single space means it's inconsistent. I don't know what to do.