[issue5611] Auto-detect indentation in C source in vimrc
Georg Brandl
report at bugs.python.org
Sun Apr 5 15:19:11 CEST 2009
Georg Brandl <georg at python.org> added the comment:
You should restrict the search to the first 100 lines or so, if
possible. Many of our C files have inconsistent indentation, and using
this script with such a file, automatically relying on it to do the
right thing, will result in even more inconsistencies. Restricting the
search to the beginning of a file greatly reduces the probability of it
finding a stray tab indentation.
----------
nosy: +georg.brandl
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5611>
_______________________________________
More information about the Python-bugs-list
mailing list