aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/user_indent.txt
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-12 20:48:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-12 20:48:57 +1300
commitd4cbf3994178061dad4a4e2d345f8cf0466bec39 (patch)
tree67bfede247336b6601529627730e6049621653dc /vim/doc/user_indent.txt
parentMerge branch 'release/v0.13.0' (diff)
parentRegenerate dotfiles(7) manual from README.md (diff)
downloaddotfiles-d4cbf3994178061dad4a4e2d345f8cf0466bec39.tar.gz
dotfiles-d4cbf3994178061dad4a4e2d345f8cf0466bec39.zip
Merge branch 'release/v0.14.0'v0.14.0
* release/v0.14.0: Regenerate dotfiles(7) manual from README.md Bump version number to 0.14.0 Mention Vim restructuring in README Add guards for presence of b:undo_* var Exclude SC1090 (failed source) shellcheck error Move lots of local Vim config into vim/after Add author/license boilerplate to all plugins
Diffstat (limited to 'vim/doc/user_indent.txt')
-rw-r--r--vim/doc/user_indent.txt27
1 files changed, 0 insertions, 27 deletions
diff --git a/vim/doc/user_indent.txt b/vim/doc/user_indent.txt
deleted file mode 100644
index e0152e32..00000000
--- a/vim/doc/user_indent.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-*user_indent.txt* "Undo" for local indent files
-
-Author: Tom Ryder <tom@sanctum.geek.nz>
-License: Same terms as Vim itself (see |license|)
-
-This plugin adds an |autocmd| hook to |FileType| to run before the one that the
-core indent.vim sets, to allow setting a b:undo_user_indent variable with
-code to |:execute| when the filetype is next changed, in much the same way that
-the core files in Vim >= 7.0x support a b:|undo_indent| variable.
-
-This will only work if it's loaded before indent.vim so that the autocmd hooks
-run in the right order. There are a couple of ways to do this:
-
-1. Create your own ~/.vim/indent.vim with the following contents:
-
- silent! runtime plugin/user_indent.vim
-
- This will then be sourced before the core indent.vim runs. This is the
- suggested method.
-
-2. Run the same line in your ~/.vimrc before your `filetype indent on` line.
-
-See also: user_ftplugin.vim.
-
-This plugin lives in Tom Ryder's "dotfiles" suite, and will eventually be spun
-off into a separate distribution as it solidifies and this documentation
-improves.