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/lua/vim | |
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/lua/vim')
-rw-r--r-- | runtime/lua/vim/_editor.lua | 2 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 6 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/regex.lua | 2 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua index 68992a16bb..64aeb64736 100644 --- a/runtime/lua/vim/_editor.lua +++ b/runtime/lua/vim/_editor.lua @@ -104,7 +104,7 @@ vim.log = { --- 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. When passed as a function must have the signature `fun(err: string, data: string)`. +--- 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. Replaces `\r\n` with `\n`. --- - timeout: (integer) Run the command with a time limit. Upon timeout the process is sent the diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 4fb3141df0..92dc4b2c7f 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -2697,10 +2697,10 @@ vim.go.gp = vim.go.grepprg --- n-v-c-sm:block,i-ci-ve:ver25-Cursor,r-cr-o:hor20 --- In Normal et al. modes, use a block cursor --- with the default colors defined by the host ---- terminal. In Insert-likes modes, use +--- terminal. In Insert-like modes, use --- a vertical bar cursor with colors from ---- "Cursor" highlight group. In Replace-likes ---- modes, use a underline cursor with +--- "Cursor" highlight group. In Replace-like +--- modes, use an underline cursor with --- default colors. --- i-ci:ver30-iCursor-blinkwait300-blinkon200-blinkoff150 --- In Insert and Command-line Insert mode, use a diff --git a/runtime/lua/vim/_meta/regex.lua b/runtime/lua/vim/_meta/regex.lua index ab4f46d43f..58aa2be8c2 100644 --- a/runtime/lua/vim/_meta/regex.lua +++ b/runtime/lua/vim/_meta/regex.lua @@ -21,7 +21,7 @@ local regex = {} -- luacheck: no unused --- 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. +--- `regex:match_str()` can be directly used as a condition in an if-statement. --- @param str string function regex:match_str(str) end diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 6209ce0c73..efb779ad41 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -6194,7 +6194,7 @@ function vim.fn.prevnonblank(lnum) end --- *printf-$* --- In certain languages, error and informative messages are --- more readable when the order of words is different from the ---- corresponding message in English. To accomodate translations +--- corresponding message in English. To accommodate translations --- having a different word order, positional arguments may be --- used to indicate this. For instance: >vim --- |