This commit is contained in:
Tim Pope 2014-02-20 23:16:48 -05:00
parent cb15ce1414
commit 161344e470
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ then simply copy and paste:
hierarchy until a match is found. This means, for example, the indent for
the first file in a brand new Ruby project might very well be derived from
your `.irbrc`. I consider this a feature.
* If your file is consistently indented hard tabs, `'shiftwidth'` will be set
to your `'tabstop'` Otherwise, a `'tabstop'` of 8 is enforced.
* If your file is consistently indented with hard tabs, `'shiftwidth'` will be
set to your `'tabstop'`. Otherwise, a `'tabstop'` of 8 is enforced.
* The algorithm is rolled from scratch, fairly simplistic, and only lightly
battle tested. It's probably not (yet) as good as [DetectIndent][].
Let me know what it fails on for you.