nixos-configs/users/froidmpa/vscode.nix

59 lines
1.6 KiB
Nix
Raw Normal View History

2022-07-27 03:30:00 +02:00
{ config, lib, pkgs, ... }:
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = (
with pkgs.vscode-extensions; [
pkief.material-icon-theme
jnoortheen.nix-ide
arrterian.nix-env-selector
scala-lang.scala
scalameta.metals
hashicorp.terraform
bradlc.vscode-tailwindcss
2022-07-28 05:43:34 +02:00
asciidoctor.asciidoctor-vscode
2022-07-27 03:30:00 +02:00
]
);
userSettings = {
"editor.formatOnSave" = true;
"editor.quickSuggestions" = {
"strings" = true;
};
"tailwindCSS.includeLanguages" = {
"scala" = "html";
};
"tailwindCSS.experimental.classRegex" = [
[ "cls\\(([^)]*)\\)" "\"([^']*)\"" ]
2022-07-28 05:43:34 +02:00
[ "cls\\s*:=\\s*\\(?([^,^\\n^\\)]*)" "\"([^']*)\"" ]
2022-07-27 03:30:00 +02:00
];
"files.autoSave" = "onFocusChange";
"files.watcherExclude" = {
"**/.bloop" = true;
"**/.metals" = true;
"**/.ammonite" = true;
};
"gruvboxMaterial.darkContrast" = "hard";
"metals.millScript" = "mill";
"nix.enableLanguageServer" = true;
"terminal.integrated.confirmOnExit" = "hasChildProcesses";
"terraform.languageServer" = {
"external" = true;
"pathToBinary" = "";
"args" = [
"serve"
];
"maxNumberOfProblems" = 100;
"trace.server" = "off";
};
"workbench.colorTheme" = "Gruvbox Material Dark";
"workbench.iconTheme" = "material-icon-theme";
2022-07-28 05:43:34 +02:00
"asciidoc.use_kroki" = true;
2022-08-18 22:16:09 +02:00
"explorer.confirmDelete" = false;
"explorer.confirmDragAndDrop" = false;
2022-09-10 01:07:45 +02:00
"terminal.integrated.shellIntegration.enabled" = false;
2022-07-27 03:30:00 +02:00
};
};
}