summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_core/editor.lua
diff options
context:
space:
mode:
authorphanium <91544758+phanen@users.noreply.github.com>2026-01-27 22:18:02 +0800
committerGitHub <noreply@github.com>2026-01-27 09:18:02 -0500
commitdfa5d79d05d82aeedc7c19f9b670f31e01e3aea0 (patch)
tree22a686dc8e1ce474e447b895f520a3d6d42ae4db /runtime/lua/vim/_core/editor.lua
parentae93639ec440796073ea77941091c3ec83905cdc (diff)
fix: misc typos #37471
Diffstat (limited to 'runtime/lua/vim/_core/editor.lua')
-rw-r--r--runtime/lua/vim/_core/editor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_core/editor.lua b/runtime/lua/vim/_core/editor.lua
index cce49b6b7b..963d67dbde 100644
--- a/runtime/lua/vim/_core/editor.lua
+++ b/runtime/lua/vim/_core/editor.lua
@@ -655,7 +655,7 @@ end
--- Convert UTF-32, UTF-16 or UTF-8 {index} to byte index.
--- If {strict_indexing} is false
---- then then an out of range index will return byte length
+--- then an out of range index will return byte length
--- instead of throwing an error.
---
--- Invalid UTF-8 and NUL is treated like in |vim.str_utfindex()|.