tables use {} not []
This commit is contained in:
parent
ed2aad85ca
commit
32bb424a61
1 changed files with 49 additions and 49 deletions
|
@ -12,56 +12,56 @@ rt.setup({
|
||||||
["rust-analyzer"] = {
|
["rust-analyzer"] = {
|
||||||
checkOnSave = {
|
checkOnSave = {
|
||||||
command = "clippy",
|
command = "clippy",
|
||||||
extraArgs = [
|
extraArgs = {
|
||||||
"--",
|
"--",
|
||||||
"-W clippy::cargo",
|
"-W clippy::cargo",
|
||||||
"-W clippy::pedantic",
|
"-W clippy::pedantic",
|
||||||
"-W clippy::allow_attributes_without_reason",
|
"-W clippy::allow_attributes_without_reason",
|
||||||
"-W clippy::clone_on_ref_ptr",
|
"-W clippy::clone_on_ref_ptr",
|
||||||
"-W clippy::create_dir",
|
"-W clippy::create_dir",
|
||||||
"-W clippy::decimal_literal_representation",
|
"-W clippy::decimal_literal_representation",
|
||||||
"-D unsafe_code",
|
"-D unsafe_code",
|
||||||
"-W clippy::deref_by_slicing",
|
"-W clippy::deref_by_slicing",
|
||||||
"-W clippy::empty_drop",
|
"-W clippy::empty_drop",
|
||||||
"-W clippy::empty_structs_with_brackets",
|
"-W clippy::empty_structs_with_brackets",
|
||||||
"-W clippy::exhaustive_enums",
|
"-W clippy::exhaustive_enums",
|
||||||
"-W clippy::exit",
|
"-W clippy::exit",
|
||||||
"-W clippy::expect_used",
|
"-W clippy::expect_used",
|
||||||
"-W clippy::panic",
|
"-W clippy::panic",
|
||||||
"-W clippy::filetype_is_file",
|
"-W clippy::filetype_is_file",
|
||||||
"-W clippy::float_cmp_const",
|
"-W clippy::float_cmp_const",
|
||||||
"-D clippy::fn_to_numeric_cast_any",
|
"-D clippy::fn_to_numeric_cast_any",
|
||||||
"-W clippy::format_push_string",
|
"-W clippy::format_push_string",
|
||||||
"-W clippy::if_then_some_else_none",
|
"-W clippy::if_then_some_else_none",
|
||||||
"-W clippy::let_underscore_must_use",
|
"-W clippy::let_underscore_must_use",
|
||||||
"-W clippy::lossy_float_literal",
|
"-W clippy::lossy_float_literal",
|
||||||
"-W clippy::map_err_ignore",
|
"-W clippy::map_err_ignore",
|
||||||
"-W clippy::mem_forget",
|
"-W clippy::mem_forget",
|
||||||
"-W missing_docs",
|
"-W missing_docs",
|
||||||
"-W clippy::missing_docs_in_private_items",
|
"-W clippy::missing_docs_in_private_items",
|
||||||
"-W clippy::mixed_read_write_in_expression",
|
"-W clippy::mixed_read_write_in_expression",
|
||||||
"-W clippy::rc_buffer",
|
"-W clippy::rc_buffer",
|
||||||
"-D clippy::rc_mutex",
|
"-D clippy::rc_mutex",
|
||||||
"-W clippy::str_to_string",
|
"-W clippy::str_to_string",
|
||||||
"-W clippy::string_add",
|
"-W clippy::string_add",
|
||||||
"-W clippy::string_to_string",
|
"-W clippy::string_to_string",
|
||||||
"-W clippy::try_err",
|
"-W clippy::try_err",
|
||||||
"-D clippy::unwrap_used",
|
"-D clippy::unwrap_used",
|
||||||
"-W clippy::nursery"
|
"-W clippy::nursery",
|
||||||
]
|
},
|
||||||
|
},
|
||||||
|
hover = {
|
||||||
|
actions = {
|
||||||
|
references = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
imports = {
|
||||||
|
granularity = {
|
||||||
|
enforce = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
hover = {
|
|
||||||
actions = {
|
|
||||||
references = {
|
|
||||||
enable = true
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
imports = {
|
|
||||||
granularity = {
|
|
||||||
enforce = true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue