diff options
author | dundargoc <gocdundar@gmail.com> | 2025-02-20 11:52:03 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2025-03-15 15:00:44 +0100 |
commit | 026cfa28d0dccb7f1832d6fcca378518a4082fdb (patch) | |
tree | 2ef784adf7e85441cc418e8c4c6e0716f35077e0 /runtime/lua/vim | |
parent | a41b6fd17341d9e6dbbc7d7806060603ab3a9b7e (diff) | |
download | rneovim-026cfa28d0dccb7f1832d6fcca378518a4082fdb.tar.gz rneovim-026cfa28d0dccb7f1832d6fcca378518a4082fdb.tar.bz2 rneovim-026cfa28d0dccb7f1832d6fcca378518a4082fdb.zip |
docs: misc
Co-authored-by: Au. <acehinnnqru@gmail.com>
Co-authored-by: Daniel Rainer <daniel.rainer@localhost>
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
Co-authored-by: Pierre Barbin <pierre@heitzsystem.com>
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Co-authored-by: phanium <91544758+phanen@users.noreply.github.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 3 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/builtin_types.lua | 4 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 4 | ||||
-rw-r--r-- | runtime/lua/vim/iter.lua | 6 | ||||
-rw-r--r-- | runtime/lua/vim/shared.lua | 3 |
5 files changed, 10 insertions, 10 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index b890b64174..63a7bcc37d 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -630,8 +630,7 @@ function vim.api.nvim_buf_line_count(buffer) end --- otherwise the same as "trunc". --- - ephemeral : for use with `nvim_set_decoration_provider()` --- callbacks. The mark will only be used for the current ---- redraw cycle, and not be permantently stored in the ---- buffer. +--- redraw cycle, and not be permanently stored in the buffer. --- - right_gravity : boolean that indicates the direction --- the extmark will be shifted in when new text is inserted --- (true for right, false for left). Defaults to true. diff --git a/runtime/lua/vim/_meta/builtin_types.lua b/runtime/lua/vim/_meta/builtin_types.lua index eae76d80d7..9dd0374486 100644 --- a/runtime/lua/vim/_meta/builtin_types.lua +++ b/runtime/lua/vim/_meta/builtin_types.lua @@ -259,12 +259,12 @@ --- write. The number is the write count. The --- first write has number 1, the last one the --- "save_last" mentioned above. ---- @field save integer +--- @field save? integer --- --- Alternate entry. This is again a List of undo --- blocks. Each item may again have an "alt" --- item. ---- @field alt vim.fn.undotree.entry[] +--- @field alt? vim.fn.undotree.entry[] --- @class vim.fn.undotree.ret --- diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 6ffd0e9619..2b4f1a32b0 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -5868,7 +5868,7 @@ function vim.fn.matchend(expr, pat, start, count) end --- --- @param list any[] --- @param str string ---- @param dict? string +--- @param dict? table --- @return any function vim.fn.matchfuzzy(list, str, dict) end @@ -5895,7 +5895,7 @@ function vim.fn.matchfuzzy(list, str, dict) end --- --- @param list any[] --- @param str string ---- @param dict? string +--- @param dict? table --- @return any function vim.fn.matchfuzzypos(list, str, dict) end diff --git a/runtime/lua/vim/iter.lua b/runtime/lua/vim/iter.lua index 4bbcaf16db..bdbe2be95a 100644 --- a/runtime/lua/vim/iter.lua +++ b/runtime/lua/vim/iter.lua @@ -652,7 +652,7 @@ end --- --- ``` --- ----@see Iter.find +---@see |Iter:find()| --- ---@param f any ---@return any @@ -757,7 +757,7 @@ end --- -- 4 --- ``` --- ----@see Iter.last +---@see |Iter:last()| --- ---@return any function Iter:rpeek() @@ -942,7 +942,7 @@ end --- --- ``` --- ----@see Iter.rpeek +---@see |Iter:rpeek()| --- ---@return any function Iter:last() diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua index f370cbfb4e..3aeda1586d 100644 --- a/runtime/lua/vim/shared.lua +++ b/runtime/lua/vim/shared.lua @@ -7,7 +7,8 @@ -- so this wouldn't be a separate case to consider) ---@nodoc -_G.vim = _G.vim or {} --[[@as table]] -- TODO(lewis6991): better fix for flaky luals +_G.vim = _G.vim or {} --[[@as table]] +-- TODO(lewis6991): better fix for flaky luals ---@generic T ---@param orig T |