Closed midchildan closed 3 years ago
I had forgotten until just now that we have g:EditorConfig_disable_rules
(#89, #90). If it were up to me, I would remove that variable as well, so please don't think of it as a model :) .
Are there other specific applications you have in your mind?
I haven't run into this problem outside of Makefiles, but I did run into it often because I occasionally write my own personal Makefiles for projects that doesn't have one. I just currently disable EditorConfig altogether for Makefiles, but I thought it'd be great if I can only disable rules that's causing a problem. However, I do think this is a minority use case, so I'm happy with closing this PR though.
@midchildan Thanks very much for your understanding! For what it's worth, I have never had a PR rejected for adding a .editorconfig file ;) . Happy hacking!
This change introduces a buffer-local version of
g:EditorConfig_disable_rules
. It's useful in cases where EditorConfig rules are in conflict with the file syntax, e.g. space indents in Makefiles.Somewhat related to #154