diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-09-14 06:05:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 12:05:27 +0800 |
commit | a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d (patch) | |
tree | c1d7f91607bf0588b689a817d291add77a8ea957 /runtime/doc/lua.txt | |
parent | f5953edbac14febce9d4f8a3c35bdec1eae26fbe (diff) | |
download | rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.tar.gz rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.tar.bz2 rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.zip |
docs: fix typos and other small fixes (#25005)
Co-authored-by: nuid64 <lvkuzvesov@proton.me>
Co-authored-by: Mike Smith <10135646+mikesmithgh@users.noreply.github.com>
Co-authored-by: XTY <xty@xty.io>
Co-authored-by: Empa <emanuel@empa.xyz>
Co-authored-by: kyu08 <49891479+kyu08@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 61afd4698a..c7f5a292e7 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -674,7 +674,7 @@ vim.regex:match_line({bufnr}, {line_idx}, {start}, {end_}) vim.regex:match_str({str}) *regex:match_str()* Match the string against the regex. If the string should match the regex precisely, surround the regex with `^` and `$` . If there was a match, the byte indices for the beginning and end of the - match are returned. When there is no match, `nil` is returned. Because any integer is "truthy", `regex:match()` can be directly used as a condition in an if-statement. + match are returned. When there is no match, `nil` is returned. Because any integer is "truthy", `regex:match_str()` can be directly used as a condition in an if-statement. Parameters: ~ • {str} (string) @@ -1772,7 +1772,7 @@ vim.system({cmd}, {opts}, {on_exit}) *vim.system()* • stdout: (boolean|function) Handle output from stdout. When passed as a function must have the signature `fun(err: string, data: string)`. Defaults to `true` - • stderr: (boolean|function) Handle output from stdout. + • stderr: (boolean|function) Handle output from stderr. When passed as a function must have the signature `fun(err: string, data: string)`. Defaults to `true`. • text: (boolean) Handle stdout and stderr as text. |