fix: misc typos #37471

This commit is contained in:
phanium
2026-01-27 22:18:02 +08:00
committed by GitHub
parent ae93639ec4
commit dfa5d79d05
6 changed files with 14 additions and 12 deletions

View File

@@ -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()|.