We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c525a4a commit 427abf5Copy full SHA for 427abf5
README.md
@@ -137,8 +137,10 @@ return {
137
-- instead of rustaceanvim's built-in vscode settings loader
138
load_vscode_settings = false,
139
-- the global hook doesn't work when configuring rust-analyzer with rustaceanvim
140
- settings = function(_, config)
141
- return require('codesettings').with_local_settings('rust-analyzer', config)
+ settings = function(_, settings)
+ -- Note: you have to wrap the `settings` table because of how `rustaceanvim`
142
+ -- passes just the `settings` table in here, not the full `vim.lsp.Config` object.
143
+ return require('codesettings').with_local_settings('rust-analyzer', { settings = settings })
144
end,
145
default_settings = {
146
['rust-analyzer'] = {
0 commit comments