aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/sync.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-01-04 19:07:40 +0100
committerGitHub <noreply@github.com>2022-01-04 11:07:40 -0700
commit0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9 (patch)
tree9c9f2f7f0049ac020dc9e3cef775a92dcc392639 /runtime/lua/vim/lsp/sync.lua
parentd6f0c9539caca217ec1a63d32a048e43ff383e8f (diff)
downloadrneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.tar.gz
rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.tar.bz2
rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.zip
chore: fix typos (#16816)
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Sebastian Volland <seb@baunz.net> Co-authored-by: Lewis Russell <lewis6991@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/lsp/sync.lua')
-rw-r--r--runtime/lua/vim/lsp/sync.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/sync.lua b/runtime/lua/vim/lsp/sync.lua
index d01f45ad8f..0f4e5b572b 100644
--- a/runtime/lua/vim/lsp/sync.lua
+++ b/runtime/lua/vim/lsp/sync.lua
@@ -298,7 +298,7 @@ end
---@private
-- rangelength depends on the offset encoding
--- bytes for utf-8 (clangd with extenion)
+-- bytes for utf-8 (clangd with extension)
-- codepoints for utf-16
-- codeunits for utf-32
-- Line endings count here as 2 chars for \r\n (dos), 1 char for \n (unix), and 1 char for \r (mac)