diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-30 19:56:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-30 19:56:09 +1200 |
commit | 52acdd9483d2901d113411728ce58b6cccc41778 (patch) | |
tree | 0dcc23cbc80ad5b7b08f499204f2874de6464775 | |
parent | First version, spun out from dotfiles v9.10.0 (diff) | |
download | vim-detect-indent-52acdd9483d2901d113411728ce58b6cccc41778.tar.gz vim-detect-indent-52acdd9483d2901d113411728ce58b6cccc41778.zip |
Add missing README.md
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +detect\_indent.vim +================== + +This plugin provides a user command to be run on a buffer after filetype +detection, applying some simple heuristics to adjust indentation settings if +the user's settings don't appear to match the buffer's settings. It pivots on +the value of `'expandtab'`. + +If changing from `'noexpandtab'` to `'expandtab'`, a guess at an appropriate +value for `'shiftround'` is attempted. It may not be accurate. + +License +------- + +Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. +See `:help license`. + +[1]: https://sanctum.geek.nz/ |