summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2024-04-14 18:19:49 +0200
committerAlan Pearce2024-04-14 18:19:49 +0200
commite909db43607e6bd85ac6b5937eba42e9f6d7a884 (patch)
tree7b999ac7372a45d011b1f211433c5a1080604b26 /user/settings
parent3fbe021a251823a6c0228609c0b5ef2d90681af5 (diff)
downloadnixfiles-e909db43607e6bd85ac6b5937eba42e9f6d7a884.tar.lz
nixfiles-e909db43607e6bd85ac6b5937eba42e9f6d7a884.tar.zst
nixfiles-e909db43607e6bd85ac6b5937eba42e9f6d7a884.zip
golang: (re-)create basic development environment
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/development/golang.nix (renamed from user/settings/golang.nix)13
1 files changed, 6 insertions, 7 deletions
diff --git a/user/settings/golang.nix b/user/settings/development/golang.nix
index a07b7559..ccacb580 100644
--- a/user/settings/golang.nix
+++ b/user/settings/development/golang.nix
@@ -1,14 +1,13 @@
-{ config
-, pkgs
-, ...
-}: {
+{ pkgs, ... }: {
   home.packages = with pkgs; [
     go
-    go-langserver
-    goimports
+    gopls
     gotools
   ];
   programs.emacs.extraPackages = epkgs: (with epkgs; [
-    go-mode
+    go-eldoc
   ]);
+  programs.neovim.plugins = with pkgs.vimPlugins; [
+    coc-go
+  ];
 }