rust-analyzer: ignore direnv folder

This commit is contained in:
Noah Masur 2024-02-11 16:20:23 -05:00
parent 471b258ff7
commit e44adf4568

View File

@ -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" ]; };
};
}; };
}; };