aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-03-28 02:32:32 +0100
committerGitHub <noreply@github.com>2024-03-28 09:32:32 +0800
commita89ce89742db600665b69e58d5e1bc3dbee9d57b (patch)
treefdb467f608d96c293aa51b4c1e7291e8bc0de825 /runtime/doc/lua.txt
parent4ee9e58056a9d17ce921d8cc6dfd6d3305a40f69 (diff)
downloadrneovim-a89ce89742db600665b69e58d5e1bc3dbee9d57b.tar.gz
rneovim-a89ce89742db600665b69e58d5e1bc3dbee9d57b.tar.bz2
rneovim-a89ce89742db600665b69e58d5e1bc3dbee9d57b.zip
docs: fix typos (#27868)
Co-authored-by: ite-usagi <77563904+ite-usagi@users.noreply.github.com> Co-authored-by: v-sim <56476039+v-sim@users.noreply.github.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Quico Augustijn <quico.public@gmail.com> Co-authored-by: nhld <nahnera@gmail.com> Co-authored-by: francisco souza <108725+fsouza@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 85f3d3288e..b9bc73e0b8 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -968,7 +968,7 @@ vim.str_byteindex({str}, {index}, {use_utf16}) *vim.str_byteindex()*
Convert UTF-32 or UTF-16 {index} to byte index. If {use_utf16} is not
supplied, it defaults to false (use UTF-32). Returns the byte index.
- Invalid UTF-8 and NUL is treated like by |vim.str_byteindex()|. An {index}
+ Invalid UTF-8 and NUL is treated like in |vim.str_utfindex()|. An {index}
in the middle of a UTF-16 sequence is rounded upwards to the end of that
sequence.