aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-30 19:56:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-30 19:56:09 +1200
commit52acdd9483d2901d113411728ce58b6cccc41778 (patch)
tree0dcc23cbc80ad5b7b08f499204f2874de6464775
parentFirst version, spun out from dotfiles v9.10.0 (diff)
downloadvim-detect-indent-52acdd9483d2901d113411728ce58b6cccc41778.tar.gz
vim-detect-indent-52acdd9483d2901d113411728ce58b6cccc41778.zip
Add missing README.md
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index e69de29..251d7c0 100644
--- a/README.md
+++ b/README.md
@@ -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/