Closed dantesun closed 10 years ago
Thanks!
It does make sense but shouldn’t it be set conditionally? i.e. set only if the user didn’t set explicitly something else?
I think that it's not really the job of a indentation plugin to set these options.
set only if the user didn’t set explicitly something else?
I have asked in #vim on irc, and there appears to be no way to provide a default setting, without having the user to override it via after
.
btw: issue #9 is a duplicate.
OTOH, as romainl said:
the point of that plugin is to enforce pep8 compliance so yeah, forcing a shiftwidth makes sense
I find “enforce” a bit strong (it should make it possible in the first place :)) but you’re probably right.
The settings are only for python files, for other languages, we might use different shiftwidth/tabstop values.