summary refs log tree commit diff stats
path: root/user/settings/development/golang.nix
blob: a9293a316ed2ee667f223602ef518cf98e2d4427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs, ... }: {
  home.packages = with pkgs; [
    go
    gopls
    godef
    gogetdoc
    gotools
    golines
    impl
    gomodifytags
    golangci-lint
    golangci-lint-langserver
    personal.prettier-plugin-go-template
  ];
  programs.emacs.extraPackages = epkgs: (with epkgs; [
    go-eldoc
    go-tag
    templ-ts-mode
  ]);
  programs.neovim.plugins = with pkgs.vimPlugins; [
    coc-go
  ];
}