Add a way to undefine the tab_width property #262

leandro-lucarella-sociomantic opened this Issue Jul 1, 2016 · 4 comments


None yet

3 participants


I would like for a "standard" editorconfig file for many projects that have different files.

I want by default to have indent_style = space and indent_size = 4 for all files, except for a couple, most notably makefiles, that are broken if TAB is not used. But I don't want to override the tab width for the makefiles, I want to use the user's default (as the beauty of using tabs is anyone can configure their editor to show as many spaces as they like for a tab).

The problem is if I include the indent_size = 4 in [*] I get the default tab_width = 4 too and there is no way to say for example tab_width = undefined.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

jedmao commented Jul 1, 2016

I've always felt it strange that the tab_width setting would pull from the indent_size for this very reason. Definitely a discussion to be had here.

xuhdev commented Jul 5, 2016

If you set tab_width to be none or anything else undefined, it should be ignored by the plugins.


Mmm, I'll try it, but I didn't see that mentioned anywhere...


OK, using tab_width = none works, maybe it should be documented somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment