aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
author陆离 <38665076+SirZenith@users.noreply.github.com>2026-03-20 04:59:50 +0800
committerGitHub <noreply@github.com>2026-03-19 16:59:50 -0400
commit048bee32f161c7c676170d1edc3c95356d4b5c09 (patch)
tree319d51472e51eb4e14226cef263b9fb4caa36f3d /lua
parentchore: update generated annotations (diff)
downloadnvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.tar
nvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.tar.gz
nvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.tar.bz2
nvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.tar.lz
nvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.tar.xz
nvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.tar.zst
nvim-lspconfig-048bee32f161c7c676170d1edc3c95356d4b5c09.zip
fix(rosyln_ls): use default offset encoding (utf-16) instead of utf-8 (#4354)
Setting `offset_encoding` to `utf-8` is causing problem. See discussion at https://github.com/neovim/neovim/discussions/38375. According to LSP specification 3.17, when `positionEncoding` is not specified in server capability, it's value should be assumed to be `utf-16`, see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#serverCapabilities. roslyn_ls does not response `positionEncoding` in initialize result (version `5.4.0-2.26162.5+e11fbc2bc8292680a92d731e5d9a6c7ee229262d`). One can verify this by setting LSP log level to debug, and read LSP log. So, setting `offset_encoding` in default config is a mistake.
Diffstat (limited to 'lua')
0 files changed, 0 insertions, 0 deletions