diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 93e993d..a838a0d 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -1,10 +1,17 @@ [[language]] name = "rust" -language-server = { command = "rustup", args = ["run", "stable", "rust-analyzer"] } +language-server = { command = "rust-analyzer", args = ["-q"] } auto-format = true roots = ["Cargo.toml"] [language.config.checkOnSave] command = "clippy" +[language.auto-pairs] +'(' = ')' +'{' = '}' +'[' = ']' +'"' = '"' +'`' = '`' +'<' = '>' [[language]] name = "python"