diff --git a/lua/astrocommunity/pack/cpp/init.lua b/lua/astrocommunity/pack/cpp/init.lua index 2c0b8859e..366516251 100644 --- a/lua/astrocommunity/pack/cpp/init.lua +++ b/lua/astrocommunity/pack/cpp/init.lua @@ -2,8 +2,17 @@ local utils = require "astrocore" return { { "AstroNvim/astrolsp", + ---@type AstroLSPOpts opts = { handlers = { clangd = false }, + ---@diagnostic disable: missing-fields + config = { + clangd = { + capabilities = { + offsetEncoding = "utf-8", + }, + }, + }, }, }, {