diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-17 13:46:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 13:46:55 +0000 |
commit | e855a80c72ed89815255bb6ff38bff27e58e523f (patch) | |
tree | ecb2245caed90d99785df194199cf971284852ee /runtime/lua/vim/_editor.lua | |
parent | d88814ef68b3f2ad3ed005ee0683eff063b017a6 (diff) | |
parent | 14b7ffcf89bc448b626df3d9e19f9f5a3682ae2b (diff) | |
download | rneovim-e855a80c72ed89815255bb6ff38bff27e58e523f.tar.gz rneovim-e855a80c72ed89815255bb6ff38bff27e58e523f.tar.bz2 rneovim-e855a80c72ed89815255bb6ff38bff27e58e523f.zip |
Merge pull request #27024 from lewis6991/test_followup
test: big cleanup followup + typing
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r-- | runtime/lua/vim/_editor.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua index 4fe601dfd5..52a21587f4 100644 --- a/runtime/lua/vim/_editor.lua +++ b/runtime/lua/vim/_editor.lua @@ -190,12 +190,18 @@ function vim._os_proc_children(ppid) return children end +--- @class vim.inspect.Opts +--- @field depth? integer +--- @field newline? string +--- @field process? fun(item:any, path: string[]): any + --- Gets a human-readable representation of the given object. --- ---@see |vim.print()| ---@see https://github.com/kikito/inspect.lua ---@see https://github.com/mpeterv/vinspect ---@return string +---@overload fun(x: any, opts?: vim.inspect.Opts): string vim.inspect = vim.inspect do |