aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorphanium <91544758+phanen@users.noreply.github.com>2025-02-17 05:33:56 +0800
committerGitHub <noreply@github.com>2025-02-16 13:33:56 -0800
commita75b09019f51d740f0890d881c90e140581f13e8 (patch)
treec3aefb442e770d82e597970d31b3c339ac040f99 /src/nvim/eval.lua
parent0e8e4a07f5150f363508b2f010f92688d3428a6a (diff)
downloadrneovim-a75b09019f51d740f0890d881c90e140581f13e8.tar.gz
rneovim-a75b09019f51d740f0890d881c90e140581f13e8.tar.bz2
rneovim-a75b09019f51d740f0890d881c90e140581f13e8.zip
docs: stdpath() type #32480
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index a7a564fa88..e454987e2b 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -11250,6 +11250,20 @@ M.funcs = {
returns = 'string|string[]',
signature = 'stdpath({what})',
},
+ stdpath__1 = {
+ args = 1,
+ fast = true,
+ name = 'stdpath',
+ params = { { 'what', "'cache'|'config'|'data'|'log'|'run'|'state'" } },
+ returns = 'string',
+ },
+ stdpath__2 = {
+ args = 1,
+ fast = true,
+ name = 'stdpath',
+ params = { { 'what', "'config_dirs'|'data_dirs'" } },
+ returns = 'string[]',
+ },
str2float = {
args = 1,
base = 1,