@@ -841,7 +841,7 @@ A jump table for the options with a short description can be found at |Q_op|.
841
841
again not rename the file.
842
842
843
843
*'backupdir'* *'bdir'*
844
- 'backupdir' 'bdir' string (default ".,$XDG_DATA_HOME /nvim/backup//")
844
+ 'backupdir' 'bdir' string (default ".,$XDG_STATE_HOME /nvim/backup//")
845
845
global
846
846
List of directories for the backup file, separated with commas.
847
847
- The backup file will be created in the first directory in the list
@@ -2063,7 +2063,7 @@ A jump table for the options with a short description can be found at |Q_op|.
2063
2063
{char2} . See | digraphs | .
2064
2064
2065
2065
*'directory'* *'dir'*
2066
- 'directory' 'dir' string (default "$XDG_DATA_HOME /nvim/swap//")
2066
+ 'directory' 'dir' string (default "$XDG_STATE_HOME /nvim/swap//")
2067
2067
global
2068
2068
List of directory names for the swap file, separated with commas.
2069
2069
@@ -3502,7 +3502,7 @@ A jump table for the options with a short description can be found at |Q_op|.
3502
3502
option. For '@' only characters up to 255 are used.
3503
3503
Careful: If you change this option, it might break expanding
3504
3504
environment variables. E.g., when '/' is included and Vim tries to
3505
- expand "$HOME/.local/share /nvim/shada/main.shada". Maybe you should
3505
+ expand "$HOME/.local/state /nvim/shada/main.shada". Maybe you should
3506
3506
change 'iskeyword' instead.
3507
3507
3508
3508
*'iskeyword'* *'isk'*
@@ -4942,9 +4942,12 @@ A jump table for the options with a short description can be found at |Q_op|.
4942
4942
but are not part of the Nvim distribution. XDG_DATA_DIRS defaults
4943
4943
to /usr/local/share/:/usr/share/, so system administrators are
4944
4944
expected to install site plugins to /usr/share/nvim/site.
4945
- 5. $VIMRUNTIME, for files distributed with Neovim.
4945
+ 5. Applications state home directory, for files that contain your
4946
+ session state (eg. backupdir, viewdir, undodir, etc).
4947
+ Given by `stdpath (" state" )` . | $XDG_STATE_HOME |
4948
+ 6. $VIMRUNTIME, for files distributed with Neovim.
4946
4949
*after-directory*
4947
- 6, 7, 8, 9. In after/ subdirectories of 1, 2, 3 and 4, with reverse
4950
+ 7, 8, 9, 10 . In after/ subdirectories of 1, 2, 3 and 4, with reverse
4948
4951
ordering. This is for preferences to overrule or add to the
4949
4952
distributed defaults or system-wide settings (rarely needed).
4950
4953
@@ -6623,7 +6626,7 @@ A jump table for the options with a short description can be found at |Q_op|.
6623
6626
'ttyfast' 'tf' Removed. | vim-differences |
6624
6627
6625
6628
*'undodir'* *'udir'* *E5003*
6626
- 'undodir' 'udir' string (default "$XDG_DATA_HOME /nvim/undo//")
6629
+ 'undodir' 'udir' string (default "$XDG_STATE_HOME /nvim/undo//")
6627
6630
global
6628
6631
List of directory names for undo files, separated with commas.
6629
6632
See 'backupdir' for details of the format.
@@ -6786,7 +6789,7 @@ A jump table for the options with a short description can be found at |Q_op|.
6786
6789
displayed when 'verbosefile' is set.
6787
6790
6788
6791
*'viewdir'* *'vdir'*
6789
- 'viewdir' 'vdir' string (default: "$XDG_DATA_HOME /nvim/view//")
6792
+ 'viewdir' 'vdir' string (default: "$XDG_STATE_HOME /nvim/view//")
6790
6793
global
6791
6794
Name of the directory where to store files for | :mkview | .
6792
6795
This option cannot be set from a | modeline | or in the | sandbox | , for
0 commit comments