diff options
author | ZyX <kp-pav@yandex.ru> | 2015-10-29 01:24:04 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-29 19:34:26 +0300 |
commit | ffdf9399ba0a3f1b90bde6f4a3c489a879a01358 (patch) | |
tree | 1d35a311a7ed39308cc7b0c404efcc7e9e64f234 /runtime | |
parent | d99941777dbaca1719223961174df5e01b1ac444 (diff) | |
download | rneovim-ffdf9399ba0a3f1b90bde6f4a3c489a879a01358.tar.gz rneovim-ffdf9399ba0a3f1b90bde6f4a3c489a879a01358.tar.bz2 rneovim-ffdf9399ba0a3f1b90bde6f4a3c489a879a01358.zip |
undo: Automatically create undo directory if needed
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 7829add2e5..73a433fd42 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6695,7 +6695,7 @@ A jump table for the options with a short description can be found at |Q_op|. global Alias for 'term', see above. - *'undodir'* *'udir'* + *'undodir'* *'udir'* *E926* 'undodir' 'udir' string (default ".") global {only when compiled with the |+persistent_undo| feature} @@ -6705,8 +6705,10 @@ A jump table for the options with a short description can be found at |Q_op|. "file.txt" is ".file.txt.un~". For other directories the file name is the full path of the edited file, with path separators replaced with "%". - When writing: The first directory that exists is used. "." always - works, no directories after "." will be used for writing. + When writing: The first directory that exists is used. "." always + works, no directories after "." will be used for writing. If none of + the directories exist Neovim will attempt to create last directory in + the list. When reading all entries are tried to find an undo file. The first undo file that exists is used. When it cannot be read an error is given, no further entry is used. |