From 5eea03e55575640f6c68e3ffa55ef8787954e3c9 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Sat, 5 Aug 2023 07:42:12 +0300 Subject: [PATCH] add some rust plugins for vscode --- profiles/applications/vscode/default.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/profiles/applications/vscode/default.nix b/profiles/applications/vscode/default.nix index b664ee7..24321c4 100644 --- a/profiles/applications/vscode/default.nix +++ b/profiles/applications/vscode/default.nix @@ -59,8 +59,6 @@ in vscode.ms-vscode.hexeditor nixpkgs.ms-vscode-remote.remote-ssh #FIX later vscode.pkief.material-icon-theme - nixpkgs.rust-lang.rust-analyzer - vscode.tamasfe.even-better-toml vscode.ultram4rine.vscode-choosealicense # Django nixpkgs.ms-python.python @@ -70,6 +68,13 @@ in vscode.thebarkman.vscode-djaneiro # Latex vscode.james-yu.latex-workshop + # Rust + vscode.gruntfuggly.todo-tree + vscode.rust-lang.rust-analyzer + vscode.serayuzgur.crates + vscode.tamasfe.even-better-toml + vscode.usernamehw.errorlens + vscode.vadimcn.vscode-lldb ]; # mutableExtensionsDir = false; userSettings = { @@ -120,6 +125,7 @@ in }; }; }; + "rust-analyzer.check.command" = "clippy"; "search.exclude" = { "**/.direnv" = true; }; @@ -129,6 +135,7 @@ in "terminal.integrated.fontFamily" = "FiraCode Nerd Font"; "terminal.integrated.fontWeight" = "500"; "terminal.integrated.profiles.linux".zsh.path = "/run/current-system/sw/bin/zsh"; + "todo-tree.regex.regex" = "(//|#|