From ed524d2b47756f3df4f2c727509de80f22af8cfa Mon Sep 17 00:00:00 2001 From: theo97490 <56770939+theo97490@users.noreply.github.com> Date: Thu, 3 Oct 2024 12:30:55 +0200 Subject: [PATCH] fix(cpp): tbl extend on opts.config instead of opts (#1228) Fix tbl extend on opts.config instead of opts --- lua/astrocommunity/pack/cpp/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/pack/cpp/init.lua b/lua/astrocommunity/pack/cpp/init.lua index b256c31ef..211544865 100644 --- a/lua/astrocommunity/pack/cpp/init.lua +++ b/lua/astrocommunity/pack/cpp/init.lua @@ -6,7 +6,7 @@ return { "AstroNvim/astrolsp", optional = true, opts = function(_, opts) - opts.config = vim.tbl_deep_extend("keep", opts, { + opts.config = vim.tbl_deep_extend("keep", opts.config, { clangd = { capabilities = { offsetEncoding = "utf-8",