From 49dde999c06096012fd6bf6db80138c4c586d1c5 Mon Sep 17 00:00:00 2001 From: David Barnett Date: Mon, 18 Apr 2016 09:37:38 -0700 Subject: [PATCH] vim-patch:f913281 (runtime/doc/) Updated and new runtime files. https://github.com/vim/vim/commit/f91328100db34996ed7e7a800bed0a30ff0890dd --- runtime/doc/autocmd.txt | 16 +++++++++------- runtime/doc/windows.txt | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 5cf8103a74..1aa2a626aa 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -770,13 +770,15 @@ OptionSet After setting an option. The pattern is it's global or local scoped and || indicates what option has been set. - Note: It's a bad idea, to reset an option - during this autocommand, since this will - probably break plugins. You can always use - |:noa| to prevent triggering this autocommand. - Could be used, to check for existence of the - 'backupdir' and 'undodir' options and create - directories, if they don't exist yet. + Usage example: Check for the existence of the + directory in the 'backupdir' and 'undodir' + options, create the directory if it doesn't + exist yet. + + Note: It's a bad idea to reset an option + during this autocommand, this may break a + plugin. You can always use `:noa` to prevent + triggering this autocommand. *QuickFixCmdPre* QuickFixCmdPre Before a quickfix command is run (|:make|, diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 29c8aaf808..9329fdb4e5 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1,4 +1,4 @@ -*windows.txt* For Vim version 7.4. Last change: 2015 Jan 31 +*windows.txt* For Vim version 7.4. Last change: 2015 Jul 21 VIM REFERENCE MANUAL by Bram Moolenaar