fix(rust): don't overwrite vim.g.rustaceanvim if it is defined (#2720)
This commit is contained in:
1 parent
d2f7cb0462
commit
2a666ac5f2
1 file changed
+1
-1
@@ -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,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user