lspmux
This commit is contained in:
@@ -230,6 +230,7 @@ d = ":toggle inline-diagnostics.cursor-line disable warning"
|
||||
D = ":toggle inline-diagnostics.other-lines disable error"
|
||||
l = ":lsp-stop"
|
||||
L = ":lsp-restart"
|
||||
A-l = ":run-shell-command lspmux reload"
|
||||
|
||||
# t = [":toggle cursorline", ":toggle line-number absolute relative"]
|
||||
# https://github.com/helix-editor/helix/issues/13187
|
||||
|
||||
@@ -158,6 +158,10 @@ args = { program = "{0}", initCommands = [
|
||||
[language-server.bacon-ls]
|
||||
command = "bacon-ls"
|
||||
|
||||
[language-server.rust-analyzer]
|
||||
command = "lspmux"
|
||||
# args = ["client", "--server-path", "rust-analyzer"]
|
||||
|
||||
[language-server.rust-analyzer.config]
|
||||
checkOnSave = true
|
||||
procMacro.enable = true
|
||||
@@ -188,9 +192,9 @@ extraArgs = [
|
||||
"-Aclippy::cargo", # lints for the cargo manifest
|
||||
"-Aclippy::restriction", # lints which prevent the use of language and library features
|
||||
# Specific
|
||||
"-Aclippy::must_use_candidate", # must_use is rather annoing
|
||||
"-Aclippy::must_use_candidate", # must_use is rather annoing
|
||||
"-Aclippy::cognitive_complexity",
|
||||
"-Aclippy::too_many_lines",
|
||||
"-Aclippy::missing_errors_doc",
|
||||
"-Aclippy::from_iter_instead_of_collect", # formats better
|
||||
# "-Aclippy::from_iter_instead_of_collect", # formats better
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user