fix annoying thign

This commit is contained in:
Benjamin Kyd
2023-03-23 09:52:50 +00:00
parent 2ed1a01555
commit e0e1361c64

View File

@@ -24,6 +24,12 @@ lsp.configure('lua-language-server', {
}
})
lsp.configure('clangd', {
capabilities = {
offsetEncoding = { "utf-16" }
}
})
local cmp = require('cmp')
local cmp_mode = { behavior = cmp.SelectBehavior.Replace }
local cmp_mappings = lsp.defaults.cmp_mappings({