docs: stdpath() type #32480

This commit is contained in:
phanium
2025-02-17 05:33:56 +08:00
committed by GitHub
parent 0e8e4a07f5
commit a75b09019f
2 changed files with 22 additions and 0 deletions

View File

@@ -9351,6 +9351,14 @@ function vim.fn.stdioopen(opts) end
--- @return string|string[]
function vim.fn.stdpath(what) end
--- @param what 'cache'|'config'|'data'|'log'|'run'|'state'
--- @return string
function vim.fn.stdpath(what) end
--- @param what 'config_dirs'|'data_dirs'
--- @return string[]
function vim.fn.stdpath(what) end
--- Convert String {string} to a Float. This mostly works the
--- same as when using a floating point number in an expression,
--- see |floating-point-format|. But it's a bit more permissive.