nvim: fix lsp.preset.Rust opts handling
Passed structure was incorrect
This commit is contained in:
parent
ac705ce937
commit
e0e3d72e8e
|
@ -48,7 +48,9 @@ M.Python = core.preset('pyright', 'lazyvim.plugins.extras.lang.python', core.lsp
|
||||||
M.Rust = core.preset('rust-analyzer', 'lazyvim.plugins.extras.lang.rust', function(server, opts)
|
M.Rust = core.preset('rust-analyzer', 'lazyvim.plugins.extras.lang.rust', function(server, opts)
|
||||||
return {
|
return {
|
||||||
'mrcjkb/rustaceanvim',
|
'mrcjkb/rustaceanvim',
|
||||||
opts = { default_settings = core.make_server(server, opts.settings) }
|
opts = {
|
||||||
|
server = { default_settings = { [server] = opts.settings } }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue