nixos/home/programs/vscode.nix

35 lines
624 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";
};
};
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
];
};
}