use clippy in rust-analyzer and use hx as EDITOR

This commit is contained in:
Tim Schubert 2022-12-08 17:00:01 +01:00
parent 3e7b277578
commit d271d95e78
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
3 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,3 @@
[[language]]
name = "rust"
config = { rust-analyzer = { checkOnSave = { command = "clippy" } } }

View file

@ -13,7 +13,7 @@ in
type = types.attrs; type = types.attrs;
default = { }; default = { };
example = '' example = ''
EDITOR = "vim"; EDITOR = "hx";
PAGER = "less"; PAGER = "less";
''; '';
}; };

View file

@ -19,7 +19,7 @@ in
enableVteIntegration = true; enableVteIntegration = true;
autocd = true; autocd = true;
sessionVariables = { sessionVariables = {
EDITOR = "vim"; EDITOR = "hx";
}; };
history = { history = {
extended = true; extended = true;