aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-09-30 09:53:52 +0200
committerGitHub <noreply@github.com>2022-09-30 09:53:52 +0200
commitdf646572c53f55268a5dbb61628d7c3b302d5663 (patch)
tree2b4dc98b294e8faae446c21181d48c47a22b54aa /runtime/lua/vim/lsp/util.lua
parent9cf252e12153aa8bf657631a8ed2b83888948fb0 (diff)
downloadrneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.gz
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.bz2
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.zip
docs: fix typos (#20394)
Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index aea2a27f9e..88667caf68 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -476,7 +476,7 @@ function M.apply_text_edits(text_edits, bufnr, offset_encoding)
-- If the replacement is over the end of a line (i.e. e.end_col is out of bounds and the
-- replacement text ends with a newline We can likely assume that the replacement is assumed
-- to be meant to replace the newline with another newline and we need to make sure this
- -- doens't add an extra empty line. E.g. when the last line to be replaced contains a '\r'
+ -- doesn't add an extra empty line. E.g. when the last line to be replaced contains a '\r'
-- in the file some servers (clangd on windows) will include that character in the line
-- while nvim_buf_set_text doesn't count it as part of the line.
if