aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-10-30 12:45:34 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-10-30 12:45:34 -0400
commitd1cfaa0a55412758259f65837f4ff595204acd37 (patch)
tree864943c778dc463d36c0e168d12225a2833eeece /runtime
parent4abf108f4639af1c35bc0554a069d878a50fcea0 (diff)
parent10080366b8975e827b64fda49a9686117c8c8f44 (diff)
downloadrneovim-d1cfaa0a55412758259f65837f4ff595204acd37.tar.gz
rneovim-d1cfaa0a55412758259f65837f4ff595204acd37.tar.bz2
rneovim-d1cfaa0a55412758259f65837f4ff595204acd37.zip
Merge pull request #3553 from ZyX-I/fix-xdg-2
Some more fixes to XDG code
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 3471106afd..baafe8cbea 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -901,7 +901,7 @@ A jump table for the options with a short description can be found at |Q_op|.
again not rename the file.
*'backupdir'* *'bdir'*
-'backupdir' 'bdir' string (default "$XDG_DATA_HOME/nvim/backup")
+'backupdir' 'bdir' string (default ".,$XDG_DATA_HOME/nvim/backup")
global
List of directories for the backup file, separated with commas.
- The backup file will be created in the first directory in the list
@@ -6695,8 +6695,8 @@ 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' string (default ".")
+ *'undodir'* *'udir'* *E926*
+'undodir' 'udir' string (default "$XDG_DATA_HOME/nvim/undo")
global
{only when compiled with the |+persistent_undo| feature}
List of directory names for undo files, separated with commas.
@@ -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.