diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-23 12:16:55 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2023-06-25 17:25:47 +0200 |
commit | 49a7585981cdf7403e76a614558e602a98e64301 (patch) | |
tree | ec96c69f44cf0588e5a409fd9aea31662ad5abbe /runtime/lua/vim | |
parent | 036da0d07921e67090d1a62c9a4e382ca09d8584 (diff) | |
download | rneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.gz rneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.bz2 rneovim-49a7585981cdf7403e76a614558e602a98e64301.zip |
docs: autocmds, misc
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/_editor.lua | 2 | ||||
-rw-r--r-- | runtime/lua/vim/lsp.lua | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua index e2ed0d980e..ab20c36b17 100644 --- a/runtime/lua/vim/_editor.lua +++ b/runtime/lua/vim/_editor.lua @@ -184,6 +184,7 @@ end --- 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 local function inspect(object, options) -- luacheck: no unused @@ -870,6 +871,7 @@ end --- </pre> --- --- @see |vim.inspect()| +--- @see |:=| --- @return any # given arguments. function vim.print(...) if vim.in_fast_event() then diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 970bb56478..a8e75c4dc9 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -2457,7 +2457,7 @@ end --- buffer number as arguments. Example: --- <pre>lua --- vim.lsp.for_each_buffer_client(0, function(client, client_id, bufnr) ---- print(vim.inspect(client)) +--- vim.print(client) --- end) --- </pre> ---@deprecated use lsp.get_active_clients({ bufnr = bufnr }) with regular loop |