From 5f8d99fbd7f86c270c916ae6512aa13e58441904 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 7 Nov 2017 14:50:26 +1300 Subject: Remove asterisks flagging keyword in Vim help I didn't realise that using asterisks for emphasis in VimL documentation in the middle of a paragraph counted as a help tag. This was causing a call to `:helptags ~/.vim/doc` to error out. --- vim/doc/user_ftplugin.txt | 2 +- vim/doc/user_indent.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vim/doc/user_ftplugin.txt b/vim/doc/user_ftplugin.txt index 7aebdb84..603bf4d0 100644 --- a/vim/doc/user_ftplugin.txt +++ b/vim/doc/user_ftplugin.txt @@ -8,7 +8,7 @@ core ftplugin.vim sets, to allow setting a b:undo_user_ftplugin 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_ftplugin| variable. -This will only work if it's loaded *before* ftplugin.vim so that the autocmd +This will only work if it's loaded before ftplugin.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/ftplugin.vim with the following contents: diff --git a/vim/doc/user_indent.txt b/vim/doc/user_indent.txt index ff71d575..e0152e32 100644 --- a/vim/doc/user_indent.txt +++ b/vim/doc/user_indent.txt @@ -8,8 +8,8 @@ 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: +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: -- cgit v1.2.3