diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-11-14 14:17:33 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-11-14 15:32:49 +0000 |
commit | d3e4ffafff425cf488c2bd076678a63440875cb7 (patch) | |
tree | 0612f58393792b76755a4843d21279531846e23d /runtime/lua/vim/lsp/protocol.lua | |
parent | 7d771c3eeef5b4dca9ebc5ed6f7ca03f2b26b6bc (diff) | |
download | rneovim-d3e4ffafff425cf488c2bd076678a63440875cb7.tar.gz rneovim-d3e4ffafff425cf488c2bd076678a63440875cb7.tar.bz2 rneovim-d3e4ffafff425cf488c2bd076678a63440875cb7.zip |
feat(lsp): support utf-8 and utf-32 position encodings
Resolves #30034
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 = { |