aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorAndrea Cappuccio <hood@null.net>2022-03-30 21:04:17 +0200
committerGitHub <noreply@github.com>2022-03-30 21:04:17 +0200
commita18c9ba2dab6e122e6fecd2353a0568f52d6c80c (patch)
tree08166f1de8217498f73c5ef3800e1f325660d89b /runtime/lua/vim/lsp/util.lua
parent7fb2310edb8f2fae1ddd175ef4bd6508ca3ce7e3 (diff)
downloadrneovim-a18c9ba2dab6e122e6fecd2353a0568f52d6c80c.tar.gz
rneovim-a18c9ba2dab6e122e6fecd2353a0568f52d6c80c.tar.bz2
rneovim-a18c9ba2dab6e122e6fecd2353a0568f52d6c80c.zip
docs(lsp): remove outdated offset_encoding default value for apply_text_edits
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 991c4be950..401dac9acd 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -360,7 +360,7 @@ end
--- Applies a list of text edits to a buffer.
---@param text_edits table list of `TextEdit` objects
---@param bufnr number Buffer id
----@param offset_encoding string utf-8|utf-16|utf-32 defaults to encoding of first client of `bufnr`
+---@param offset_encoding string utf-8|utf-16|utf-32
---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textEdit
function M.apply_text_edits(text_edits, bufnr, offset_encoding)
validate {