mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 12:15:38 +00:00
rust-analyzer: ignore direnv folder
This commit is contained in:
parent
471b258ff7
commit
e44adf4568
@ -44,7 +44,10 @@
|
|||||||
use.lspconfig.rust_analyzer.setup = dsl.callWith {
|
use.lspconfig.rust_analyzer.setup = dsl.callWith {
|
||||||
cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ];
|
cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ];
|
||||||
settings = {
|
settings = {
|
||||||
"['rust-analyzer']" = { check = { command = "clippy"; }; };
|
"['rust-analyzer']" = {
|
||||||
|
check = { command = "clippy"; };
|
||||||
|
files = { excludeDirs = [ ".direnv" ]; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user