aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake.deps/deps.txt4
-rw-r--r--runtime/doc/news.txt1
-rw-r--r--runtime/lua/vim/lsp/protocol.lua2
3 files changed, 5 insertions, 2 deletions
diff --git a/cmake.deps/deps.txt b/cmake.deps/deps.txt
index b50641d2a8..d98ff6ea97 100644
--- a/cmake.deps/deps.txt
+++ b/cmake.deps/deps.txt
@@ -1,8 +1,8 @@
LIBUV_URL https://github.com/libuv/libuv/archive/v1.49.2.tar.gz
LIBUV_SHA256 388ffcf3370d4cf7c4b3a3205504eea06c4be5f9e80d2ab32d19f8235accc1cf
-LUAJIT_URL https://github.com/LuaJIT/LuaJIT/archive/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz
-LUAJIT_SHA256 1375ebdbe04df03bf5f21a576885a7a7e7caf3a0191d68eef513ec1fb2921512
+LUAJIT_URL https://github.com/LuaJIT/LuaJIT/archive/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz
+LUAJIT_SHA256 92325f209b21aaf0a67b099bc73cf9bbac5789a9749bdc3898d4a990abb4f36e
LUA_URL https://www.lua.org/ftp/lua-5.1.5.tar.gz
LUA_SHA256 2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 6056c80265..53a13b08cb 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -215,6 +215,7 @@ LSP
clients.
• |vim.lsp.buf.signature_help()| can now cycle through different signatures
using `<C-s>` and also support multiple clients.
+• The client now supports `'utf-8'` and `'utf-32'` position encodings.
LUA
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 98965d0e20..7db48b0c06 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -338,7 +338,9 @@ function protocol.make_client_capabilities()
return {
general = {
positionEncodings = {
+ 'utf-8',
'utf-16',
+ 'utf-32',
},
},
textDocument = {