nixos/home/programs/vscode.nix

36 lines
654 B
Nix
Raw Normal View History

2024-02-17 13:45:15 +01:00
{ config, pkgs, ... }:
{
programs.vscode = {
enable = true;
enableUpdateCheck = false;
2024-02-17 14:24:42 +01:00
enableExtensionUpdateCheck = false;
2024-02-17 13:45:15 +01:00
2024-02-17 14:24:42 +01:00
userSettings = {
"files.autoSave" = "onFocusChange";
"emmet.includeLanguages" = {
"phoenix-heex" = "html";
};
2024-02-19 21:20:59 +01:00
"git.autofetch" = true;
2024-02-17 14:24:42 +01:00
};
userTasks = {};
extensions = with pkgs; with vscode-extensions; [
# Nix
bbenoist.nix
# Rust
rust-lang.rust-analyzer
serayuzgur.crates
tamasfe.even-better-toml
# Phoenix
phoenixframework.phoenix
elixir-lsp.vscode-elixir-ls
# Ruby
2024-02-17 14:56:18 +01:00
shopify.ruby-lsp
2024-02-17 13:45:15 +01:00
];
};
}