fix(lang/rust): don't overwrite vim.g.rustaceanvim if it is defined

This commit is contained in:
Marc Jakobi 2024-03-12 17:45:22 +01:00
parent cca2e09149
commit 0655babfcd

View file

@ -81,7 +81,7 @@ return {
}, },
}, },
config = function(_, opts) config = function(_, opts)
vim.g.rustaceanvim = vim.tbl_deep_extend("force", {}, opts or {}) vim.g.rustaceanvim = vim.tbl_deep_extend("keep", vim.g.rustaceanvim or {}, opts or {})
end, end,
}, },