mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
fix(lsp): use only utf-16 in default client positionEncodings (#23903)
The Nvim client does not yet support multiple offset encodings for clients in the same buffer. Until it does, stick to utf-16 by default.
This commit is contained in:
@@ -636,9 +636,7 @@ function protocol.make_client_capabilities()
|
||||
return {
|
||||
general = {
|
||||
positionEncodings = {
|
||||
'utf-8',
|
||||
'utf-16',
|
||||
'utf-32',
|
||||
},
|
||||
},
|
||||
textDocument = {
|
||||
|
||||
Reference in New Issue
Block a user