summary refs log tree commit diff stats
path: root/user/settings/development/web.nix
blob: 7db09e51e3ead08966654919f26a970d7ae257b8 (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
{ 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
    web-mode
  ]);
  programs.neovim.plugins = with pkgs.vimPlugins; [
    coc-css
    coc-html
  ];
}