diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-12-28 14:20:42 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-01-01 15:05:21 +0100 |
commit | dfb840970c36056584e9a55d77a2030b4e403e9d (patch) | |
tree | fc4839c9c9337d77d6bf6d1985353fed2a400a3c /runtime/lua/vim/_editor.lua | |
parent | 9cc37e057a7afa02dcb9f384aa43217d82b9d479 (diff) | |
download | rneovim-dfb840970c36056584e9a55d77a2030b4e403e9d.tar.gz rneovim-dfb840970c36056584e9a55d77a2030b4e403e9d.tar.bz2 rneovim-dfb840970c36056584e9a55d77a2030b4e403e9d.zip |
docs(lua): fix treesitter parsing errors
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r-- | runtime/lua/vim/_editor.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua index 2913a0ddc6..da8764fbd4 100644 --- a/runtime/lua/vim/_editor.lua +++ b/runtime/lua/vim/_editor.lua @@ -391,7 +391,7 @@ end ---@param pos2 integer[] (line, column) tuple marking end of region ---@param regtype string type of selection, see |setreg()| ---@param inclusive boolean indicating whether the selection is end-inclusive ----@return table<integer, {}> region lua table of the form {linenr = {startcol,endcol}} +---@return table region Table of the form `{linenr = {startcol,endcol}}` function vim.region(bufnr, pos1, pos2, regtype, inclusive) if not vim.api.nvim_buf_is_loaded(bufnr) then vim.fn.bufload(bufnr) |