Link dependencies of editor configuration
This commit is contained in:
parent
db2a07baea
commit
64d161bfa5
1 changed files with 10 additions and 8 deletions
|
@ -12,12 +12,6 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
libqalculate # extension theaflowers.qalc
|
||||
nixpkgs-fmt # extension jnoortheen.nix-ide
|
||||
shellcheck # extension timonwong.shellcheck
|
||||
];
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
|
@ -35,6 +29,16 @@ in
|
|||
];
|
||||
|
||||
userSettings = {
|
||||
# Dependencies
|
||||
"nix.formatterPath" = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt";
|
||||
"prettier.prettierPath" = "${pkgs.nodePackages.prettier}/lib/node_modules/prettier";
|
||||
"python.formatting.blackPath" = "${pkgs.black}/bin/black";
|
||||
"qalc.path" = "${pkgs.libqalculate}/bin/qalc";
|
||||
"ruby.rubocop.executePath" = "${pkgs.rubocop}/bin/";
|
||||
"ruff.path" = [ "${pkgs.ruff}/bin/ruff" ];
|
||||
"shellcheck.executablePath" = "${pkgs.shellcheck}/bin/shellcheck";
|
||||
"stylelint.stylelintPath" = "${pkgs.nodePackages.stylelint}/lib/node_modules/stylelint";
|
||||
|
||||
# Application
|
||||
"breadcrumbs.enabled" = false;
|
||||
"editor.acceptSuggestionOnCommitCharacter" = false;
|
||||
|
@ -183,10 +187,8 @@ in
|
|||
".parcelrc" = "jsonc";
|
||||
".postcssrc" = "json";
|
||||
};
|
||||
"python.formatting.blackPath" = "${pkgs.black}/bin/black";
|
||||
"python.formatting.provider" = "black";
|
||||
"python.languageServer" = "Microsoft";
|
||||
"ruff.path" = [ "${pkgs.ruff}/bin/ruff" ];
|
||||
"rust-analyzer.checkOnSave.command" = "clippy";
|
||||
"[css]" = prettier;
|
||||
"[diff]" = monospace;
|
||||
|
|
Loading…
Reference in a new issue