aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/_editor.lua1
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua8
2 files changed, 5 insertions, 4 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua
index 8c10cc7da3..96ac379368 100644
--- a/runtime/lua/vim/_editor.lua
+++ b/runtime/lua/vim/_editor.lua
@@ -188,6 +188,7 @@ end
---@see |vim.print()|
---@see https://github.com/kikito/inspect.lua
---@see https://github.com/mpeterv/vinspect
+---@return string
vim.inspect = vim.inspect
do
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index ebd74046ce..d9d3c92a44 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -3297,8 +3297,8 @@ function vim.fn.getpid() end
--- call setpos("'a", save_a_mark)
--- <Also see |getcharpos()|, |getcurpos()| and |setpos()|.
---
---- @param expr any
---- @return any
+--- @param expr string
+--- @return integer[]
function vim.fn.getpos(expr) end
--- Returns a |List| with all the current quickfix errors. Each
@@ -8827,8 +8827,8 @@ function vim.fn.stdioopen(opts) end
--- echo stdpath("config")
--- <
---
---- @param what any
---- @return any
+--- @param what 'cache'|'config'|'config_dirs'|'data'|'data_dirs'|'log'|'run'|'state'
+--- @return string|string[]
function vim.fn.stdpath(what) end
--- Convert String {string} to a Float. This mostly works the