fixing error message of encodings

This commit is contained in:
talksik
2023-10-05 07:09:07 -07:00
parent 3c5ef3b937
commit f89a02bc13
2 changed files with 7 additions and 0 deletions
+7
View File
@@ -6,6 +6,13 @@ lsp.preset("recommended")
lsp.ensure_installed({
})
-- set client offset encoding for clang
lsp.configure('clangd', {
init_options = {
offsetEncoding = { "utf-8", "utf-16" }
}
})
-- Fix Undefined global 'vim'
lsp.configure('sumneko_lua', {
settings = {