mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 01:42:55 +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