summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_core/editor.lua
diff options
context:
space:
mode:
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()|.