Open oeN opened 4 years ago
Thanks for the report. That's strange to me, gdscript-indent-offset
shouldn't affect anything other than .gd
files.
Thanks for the reply :)
Sorry, I didn't explain well enough, the problem is on the .gd
files this problem doesn't affect other file types, for example on a .py
file the indentation is consistent between the TAB
and the >+>
of evil
I think the issue is from Emacs editorconfig. I've opened an PR in https://github.com/editorconfig/editorconfig-emacs/pull/300 to resolve this issue.
@oeN Now the https://github.com/editorconfig/editorconfig-emacs/pull/300 PR has merged, can you download the latest version and try to see if it works?
I'm submitting a...
Bug report
I have the
editorconfig
package enabled and an .editorconfig file:I'm using Doom Emacs :)
What is the current behavior? When editing a gdscript file indenting from the NORMAL mode with
Shift+>+>
works correctly but from the INSERT mode if I press tab the indent size used is 4.If I change the indent size to 2 with
gdscript-indent-offset
it works as expectedWhat is the expected behavior? Let the
editorconfig
preference overrides the indent size configured forgdscript-mode
Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.
editoconfig
package.editorconfig
file like the one above (or with different indent size between editor config and gdscript-mode)Thanks!