use clippy in rust-analyzer and use hx as EDITOR
This commit is contained in:
parent
3e7b277578
commit
d271d95e78
3 changed files with 5 additions and 2 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
[[language]]
|
||||||
|
name = "rust"
|
||||||
|
config = { rust-analyzer = { checkOnSave = { command = "clippy" } } }
|
|
@ -13,7 +13,7 @@ in
|
||||||
type = types.attrs;
|
type = types.attrs;
|
||||||
default = { };
|
default = { };
|
||||||
example = ''
|
example = ''
|
||||||
EDITOR = "vim";
|
EDITOR = "hx";
|
||||||
PAGER = "less";
|
PAGER = "less";
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue