aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-12-28 14:20:42 +0100
committerChristian Clason <c.clason@uni-graz.at>2023-01-01 15:05:21 +0100
commitdfb840970c36056584e9a55d77a2030b4e403e9d (patch)
treefc4839c9c9337d77d6bf6d1985353fed2a400a3c /runtime/doc
parent9cc37e057a7afa02dcb9f384aa43217d82b9d479 (diff)
downloadrneovim-dfb840970c36056584e9a55d77a2030b4e403e9d.tar.gz
rneovim-dfb840970c36056584e9a55d77a2030b4e403e9d.tar.bz2
rneovim-dfb840970c36056584e9a55d77a2030b4e403e9d.zip
docs(lua): fix treesitter parsing errors
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 25d7fa2f35..074cb863f0 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1502,8 +1502,7 @@ region({bufnr}, {pos1}, {pos2}, {regtype}, {inclusive}) *vim.region()*
end-inclusive
Return: ~
- table<integer, {}> region lua table of the form {linenr =
- {startcol,endcol}}
+ (table) region Table of the form `{linenr = {startcol,endcol}}`
schedule_wrap({cb}) *vim.schedule_wrap()*
Defers callback `cb` until the Nvim API is safe to call.
@@ -1711,8 +1710,7 @@ split({s}, {sep}, {kwargs}) *vim.split()*
Parameters: ~
• {s} (string) String to split
• {sep} (string) Separator or pattern
- • {kwargs} ({plain: boolean, trimempty: boolean}|nil) Keyword
- arguments:
+ • {kwargs} (table|nil) Keyword arguments:
• plain: (boolean) If `true` use `sep` literally (passed to
string.find)
• trimempty: (boolean) If `true` remove empty items from the