From a75b09019f51d740f0890d881c90e140581f13e8 Mon Sep 17 00:00:00 2001 From: phanium <91544758+phanen@users.noreply.github.com> Date: Mon, 17 Feb 2025 05:33:56 +0800 Subject: docs: stdpath() type #32480 --- src/nvim/eval.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') 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, -- cgit