diff options
author | Gregory Anders <greg@gpanders.com> | 2023-06-01 11:39:51 -0500 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-06-01 11:46:37 -0500 |
commit | 15641f38cf4b489a7c83e2c3aa6efc4c63009f00 (patch) | |
tree | 94f503464e247241b81bf2cd5dc28b99e7c2ef60 /runtime/lua/vim/lsp/protocol.lua | |
parent | fb54e6980ea6fec218a11f118e97ef65f250395a (diff) | |
download | rneovim-15641f38cf4b489a7c83e2c3aa6efc4c63009f00.tar.gz rneovim-15641f38cf4b489a7c83e2c3aa6efc4c63009f00.tar.bz2 rneovim-15641f38cf4b489a7c83e2c3aa6efc4c63009f00.zip |
feat(lsp): include positionEncodings in default client capabilities
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index a28ff407b7..7e49a572e7 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -634,6 +634,13 @@ export interface WorkspaceClientCapabilities { --- capabilities. function protocol.make_client_capabilities() return { + general = { + positionEncodings = { + 'utf-8', + 'utf-16', + 'utf-32', + }, + }, textDocument = { semanticTokens = { dynamicRegistration = false, |