aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorIvan <etircopyhdot@gmail.com>2021-09-06 20:35:34 +0300
committerJustin M. Keyes <justinkz@gmail.com>2022-05-12 07:13:45 -0700
commit78a1e6bc0060eec1afa7de099c4cee35ca35527f (patch)
tree1795ae99329c58f8e34f3828b888014afb1318f6 /man
parenta1b663cce861a76f78d65aa538426d0cf635c379 (diff)
downloadrneovim-78a1e6bc0060eec1afa7de099c4cee35ca35527f.tar.gz
rneovim-78a1e6bc0060eec1afa7de099c4cee35ca35527f.tar.bz2
rneovim-78a1e6bc0060eec1afa7de099c4cee35ca35527f.zip
feat(defaults): session data in $XDG_STATE_HOME #15583
See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/4f2884e16db35f2962d9b64312917c81be5cb54b - Move session persistent data to $XDG_STATE_HOME Change 'directory', 'backupdir', 'undodir', 'viewdir' and 'shadafile' default location to $XDG_STATE_HOME/nvim. - Move logs to $XDG_STATE_HOME, too. - Add stdpath('log') support. Fixes: #14805
Diffstat (limited to 'man')
-rw-r--r--man/nvim.114
1 files changed, 11 insertions, 3 deletions
diff --git a/man/nvim.1 b/man/nvim.1
index 43dfc21dc7..9f35014ee8 100644
--- a/man/nvim.1
+++ b/man/nvim.1
@@ -188,7 +188,7 @@ loading plugins is also skipped.
Use
.Ar shada
instead of the default
-.Pa ~/.local/share/nvim/shada/main.shada .
+.Pa ~/.local/state/nvim/shada/main.shada .
If
.Ar shada
is
@@ -326,7 +326,7 @@ Print version information and exit.
.Sh ENVIRONMENT
.Bl -tag -width Fl
.It Ev NVIM_LOG_FILE
-Low-level log file, usually found at ~/.cache/nvim/log.
+Low-level log file, usually found at ~/.local/state/nvim/log.
:help $NVIM_LOG_FILE
.It Ev VIM
Used to locate user files, such as init.vim.
@@ -340,12 +340,20 @@ Path to the user-local configuration directory, see
Defaults to
.Pa ~/.config .
:help xdg
-.It Ev XDG_DATA_HOME
+.It Ev XDG_STATE_HOME
Like
.Ev XDG_CONFIG_HOME ,
but used to store data not generally edited by the user,
namely swap, backup, and ShaDa files.
Defaults to
+.Pa ~/.local/state .
+:help xdg
+.It Ev XDG_DATA_HOME
+Like
+.Ev XDG_CONFIG_HOME ,
+but used to store data not generally edited by the user,
+things like runtime files.
+Defaults to
.Pa ~/.local/share .
:help xdg
.It Ev VIMINIT