diff options
author | David Barnett <davidbarnett2@gmail.com> | 2016-04-18 09:37:38 -0700 |
---|---|---|
committer | David Barnett <davidbarnett2@gmail.com> | 2016-04-18 20:15:22 -0700 |
commit | 49dde999c06096012fd6bf6db80138c4c586d1c5 (patch) | |
tree | 429337311d3b91ffd52fb3a958ff8908b8a902ee /runtime/doc/autocmd.txt | |
parent | 8d12e28d946b259811a8827aa6fbf1dca34c11da (diff) | |
download | rneovim-49dde999c06096012fd6bf6db80138c4c586d1c5.tar.gz rneovim-49dde999c06096012fd6bf6db80138c4c586d1c5.tar.bz2 rneovim-49dde999c06096012fd6bf6db80138c4c586d1c5.zip |
vim-patch:f913281 (runtime/doc/)
Updated and new runtime files.
https://github.com/vim/vim/commit/f91328100db34996ed7e7a800bed0a30ff0890dd
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 16 |
1 files changed, 9 insertions, 7 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 |<amatch>| 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|, |