-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I got it from the Arch Linux AUR. I'm using it in neovim.
I can't change it's encoding to UTF-8.
So, is this a problem on my end, or just that this has utf-16 default, or stuck with utf-16.
lspconfig.opencl_ls.setup({
cmd = { "opencl-language-server" },
filetypes = { "opencl" },
root_dir = lspconfig.util.root_pattern(".git", ".asm-lsp.toml"),
capabilities = vim.tbl_deep_extend("force", lsp_defaults.capabilities, {
offsetEncoding = "utf-8",
positionEncodings = "utf-8",
}),
init_options = {
offsetEncoding = "utf-8", -- Some servers need this too
},
})
vim.lsp: Position Encodings ~
⚠️ WARNING Found buffers attached to multiple clients with different position encodings.- Buffer 1: UTF-16 (client id(s): 1), UTF-8 (client id(s): 2)
- ADVICE:
- Use the positionEncodings client capability to ensure all clients use the same position encoding
Metadata
Metadata
Assignees
Labels
No labels