From 95aea6b533e71e478d61d18fac71cca116c56a4d Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 22 May 2022 22:47:23 +0100 Subject: Add all the plugins I currently use --- opt/sleuth/doc/sleuth.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 opt/sleuth/doc/sleuth.txt (limited to 'opt/sleuth/doc/sleuth.txt') diff --git a/opt/sleuth/doc/sleuth.txt b/opt/sleuth/doc/sleuth.txt new file mode 100644 index 0000000..76832a0 --- /dev/null +++ b/opt/sleuth/doc/sleuth.txt @@ -0,0 +1,34 @@ +*sleuth.txt* Heuristically set buffer options + +Author: Tim Pope +Repo: https://github.com/tpope/vim-sleuth +License: Same terms as Vim itself (see |license|) + +This plugin is only available if 'compatible' is not set. + +SUMMARY *sleuth* + +This plugin automatically adjusts 'shiftwidth' and 'expandtab' heuristically +based on the current file, or, in the case the current file is new, blank, or +otherwise insufficient, by looking at other files of the same type in the +current and parent directories. In lieu of adjusting 'softtabstop', +'smarttab' is enabled. + + *:Sleuth* +:Sleuth Manually detect indentation. + + *SleuthIndicator()* +SleuthIndicator() Indicator for inclusion in 'statusline'. Or use + flagship.vim to have it included automatically. + +SETTINGS *sleuth-settings* + +Automatic detection of buffer options can be controlled with: +> + let g:sleuth_automatic = 0 +< +or: +> + let b:sleuth_automatic = 0 +< + vim:tw=78:et:ft=help:norl: -- cgit v1.2.3