h
This commit is contained in:
@@ -97,16 +97,24 @@ wrap-indicator = "↪"
|
||||
|
||||
|
||||
[keys.insert]
|
||||
A-tab = "insert_tab"
|
||||
C-space = "signature_help"
|
||||
S-tab = "move_parent_node_start"
|
||||
# tab = "move_parent_node_end"
|
||||
tab = "completion"
|
||||
# S-tab = "move_parent_node_start"
|
||||
A-tab = "insert_tab"
|
||||
|
||||
[keys.select]
|
||||
x = "extend_line"
|
||||
# a = ["append_mode", "collapse_selection"]
|
||||
tab = "extend_parent_node_end"
|
||||
S-tab = "extend_parent_node_start"
|
||||
|
||||
C-y = "yank_joined"
|
||||
|
||||
# tab = "extend_parent_node_end"
|
||||
# S-tab = "extend_parent_node_start"
|
||||
tab = "expand_selection"
|
||||
S-tab = "shrink_selection"
|
||||
A-tab = "insert_tab"
|
||||
|
||||
";" = ["collapse_selection", "normal_mode"]
|
||||
|
||||
L = "goto_next_buffer"
|
||||
@@ -125,6 +133,8 @@ x = "extend_line"
|
||||
"=" = ":format"
|
||||
"A-=" = "format_selections"
|
||||
|
||||
C-y = "yank_joined"
|
||||
|
||||
L = "goto_next_buffer"
|
||||
H = "goto_previous_buffer"
|
||||
|
||||
@@ -139,9 +149,12 @@ D = ["ensure_selections_forward", "extend_to_line_end"]
|
||||
|
||||
C-space = "signature_help"
|
||||
|
||||
tab = "move_parent_node_end"
|
||||
S-tab = "move_parent_node_start"
|
||||
|
||||
tab = "expand_selection"
|
||||
S-tab = "shrink_selection"
|
||||
A-tab = "insert_tab"
|
||||
# tab = "move_parent_node_end"
|
||||
# S-tab = "move_parent_node_start"
|
||||
|
||||
A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
|
||||
A-k = [
|
||||
|
||||
@@ -39,11 +39,11 @@ semanticTokens = "enable"
|
||||
[language-server.rust-analyzer.config]
|
||||
checkOnSave = true
|
||||
procMacro.enable = true
|
||||
cargo.features = "all"
|
||||
|
||||
[language-server.rust-analyzer.config.cargo]
|
||||
features = "all"
|
||||
loadOutDirsFromCheck = true
|
||||
runBuildScripts = true
|
||||
# [language-server.rust-analyzer.config.cargo]
|
||||
# loadOutDirsFromCheck = true
|
||||
# runBuildScripts = true
|
||||
|
||||
[language-server.rust-analyzer.config.check]
|
||||
features = "all"
|
||||
@@ -59,7 +59,7 @@ extraArgs = [
|
||||
"-Wclippy::perf", # code that can be written to run faster
|
||||
"-Wclippy::pedantic", # lints which are rather strict or have occasional false positives
|
||||
"-Wclippy::nursery", # new lints that are still under development
|
||||
"-Wclippy::cargo", # lints for the cargo manifest
|
||||
"-Aclippy::cargo", # lints for the cargo manifest
|
||||
# Use in production
|
||||
"-Aclippy::restriction", # lints which prevent the use of language and library features
|
||||
# Other
|
||||
|
||||
Reference in New Issue
Block a user