summary refs log tree commit diff stats
path: root/user/settings/development/web.nix
blob: ea52f273943e531bd36bf18586ec6847f910f909 (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
{ config
, pkgs
, ...
}: {
  home.packages = with pkgs.nodePackages; [
    vscode-css-languageserver-bin
    vscode-html-languageserver-bin
    csslint
    stylelint
  ] ++ (with pkgs; [
    flyctl
    prettierd
    personal.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
    emmet-mode
    nginx-mode
    web-mode
  ]);
  programs.neovim.plugins = with pkgs.vimPlugins; [
    coc-css
    coc-html
  ];
}