aboutsummaryrefslogblamecommitdiff
path: root/README.md
blob: 251d7c08b8b7196654df60ad1cd47a3df18b24fc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/