summary refs log tree commit diff stats
path: root/user/settings/development/web.nix
blob: 7570cadb5982479fa87532afd1d3d4ad81509091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ config
, pkgs
, ...
}: {
  home.packages = with pkgs.nodePackages; [
    vscode-css-languageserver-bin
    vscode-html-languageserver-bin
    csslint
    stylelint
    prettier
  ] ++ (with pkgs; [
    flyctl
    self.htmlformat
  ]);
  home.shellAliases = {
    # 0.2.25 current completion command only affects `flyctl`, although `fly` is a link to `flyctl`
    fly = "flyctl";
  };
  programs.emacs.extraPackages = epkgs: (with epkgs; [
    caddyfile-mode
    company-web
    emmet-mode
    nginx-mode
    restclient
    scss-mode
    web-mode
  ]);
  programs.neovim.plugins = with pkgs.vimPlugins; [
    coc-css
    coc-html
  ];
}