option: Add current directory to &backupdir option

Fixes #3496
This commit is contained in:
ZyX
2015-10-29 00:28:44 +03:00
parent dc8b0c47b1
commit 0bcc2bf126
2 changed files with 7 additions and 3 deletions

View File

@@ -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