mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-13 00:08:56 +00:00
feat(rust): clean assertion
This commit is contained in:
parent
eaf6d63da9
commit
9e3818e16e
1 changed files with 4 additions and 1 deletions
|
|
@ -293,7 +293,10 @@ in {
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = !(builtins.elem "rust-analyzer" cfg.lsp.server) && !config.vim.lsp.rust-analyzer.enable;
|
assertion = !(builtins.elem "rust-analyzer" cfg.lsp.server) && !config.vim.lsp.rust-analyzer.enable;
|
||||||
message = "rustaceanvim and rust-analyzer are mutually exclusive. Please ensure that rust-analyzer is disabled.";
|
message = ''
|
||||||
|
Rustaceanvim fully manages its own rust-analyzer.
|
||||||
|
Therefore you can't use vim.langauges.rust.extensions.rustaceanvim.enable with rust-analyzer enabled.
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue