aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-08-17 23:45:40 -0400
committerGitHub <noreply@github.com>2025-08-17 20:45:40 -0700
commit960b33a9d810a8f70423bbab614d024e0468f115 (patch)
treeb2d813260acc18bac3d58ae041895545d4a852b3 /runtime/lua/vim
parent1d40f677760d3fbaaaac6292841f2f5426bf83bd (diff)
downloadrneovim-960b33a9d810a8f70423bbab614d024e0468f115.tar.gz
rneovim-960b33a9d810a8f70423bbab614d024e0468f115.tar.bz2
rneovim-960b33a9d810a8f70423bbab614d024e0468f115.zip
docs: misc, dev-api-fast, $XDG_STATE_HOME #35138
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/options.lua7
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua4
2 files changed, 4 insertions, 7 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 88a83c010e..5066db1ca9 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -5383,12 +5383,9 @@ vim.go.ruf = vim.go.rulerformat
--- but are not part of the Nvim distribution. XDG_DATA_DIRS defaults
--- to /usr/local/share/:/usr/share/, so system administrators are
--- expected to install site plugins to /usr/share/nvim/site.
---- 5. Session state directory, for state data such as swap, backupdir,
---- viewdir, undodir, etc.
---- Given by `stdpath("state")`. `$XDG_STATE_HOME`
---- 6. $VIMRUNTIME, for files distributed with Nvim.
+--- 5. $VIMRUNTIME, for files distributed with Nvim.
--- *after-directory*
---- 7, 8, 9, 10. In after/ subdirectories of 1, 2, 3 and 4, with reverse
+--- 6, 7, 8, 9. In after/ subdirectories of 1, 2, 3 and 4, with reverse
--- ordering. This is for preferences to overrule or add to the
--- distributed defaults or system-wide settings (rarely needed).
---
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index ac32434ebd..c1ac7c3fab 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -9473,8 +9473,8 @@ function vim.fn.stdioopen(opts) end
--- log String Logs directory (for use by plugins too).
--- run String Run directory: temporary, local storage
--- for sockets, named pipes, etc.
---- state String Session state directory: storage for file
---- drafts, swap, undo, |shada|.
+--- state String Session state: storage for backupdir,
+--- file drafts, |shada|, swap, undo, 'viewdir'.
---
--- Example: >vim
--- echo stdpath("config")