Skip to content

Commit

Permalink
fix(rust): don't overwrite vim.g.rustaceanvim if it is defined (Laz…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb authored and anjotadena committed Apr 9, 2024
1 parent d65d88b commit ddf81df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/extras/lang/rust.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ return {
},
},
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,
},

Expand Down

0 comments on commit ddf81df

Please sign in to comment.