diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-01-01 15:24:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-01 15:24:06 +0100 |
commit | f60cff8f9a253cac5c67199cd00bb9ecd15c5558 (patch) | |
tree | b4fd305ed727e02f78ad8775c21da879b21f3acd /runtime/lua/vim/_editor.lua | |
parent | c4942880be0521673548c48bf61c1eac6bd37036 (diff) | |
parent | 2f0c023f520544432af56805bc1ad5785fcfdc61 (diff) | |
download | rneovim-f60cff8f9a253cac5c67199cd00bb9ecd15c5558.tar.gz rneovim-f60cff8f9a253cac5c67199cd00bb9ecd15c5558.tar.bz2 rneovim-f60cff8f9a253cac5c67199cd00bb9ecd15c5558.zip |
Merge pull request #21570 from clason/vimdoc-parsing
docs: 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) |