How to use SLIME indent with editorconfig in emacs

I am using editorconfig using the emacs module.

I like this, especially since it can synchronize my settings between editors and allow specific project settings. But when I edit shared lisp files in emacs, editorconfig seems to ruin SLIME's intelligent lisp special indentation. those. it always defers the same amount instead of using the appropriate indentation or alignment for the current form.

Is it possible to indicate that I would prefer to use the SLIME indent over the editorconfig indent?

Also, does anyone know how editorconfig interacts with smart tabs?

+4
source share
1 answer

An error has occurred in the editor for emacs. Now it is fixed.

For it to work, your .editorconfig file must have something like the following:

[*.{lisp,asd,el}]
indent_style = space
indent_size = none
tab_width = none
+2
source

All Articles