fix(nvim): rust_analyzer check gated features

This commit is contained in:
stitchy 2025-02-14 04:18:43 +00:00
parent 1ecaee308c
commit abbf8000db
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8

View file

@ -42,6 +42,13 @@ for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
-- on_attach = my_custom_on_attach,
capabilities = capabilities,
settings = {
['rust-analyzer'] = {
cargo = {
allFeatures = true;
}
}
}
}
end