From 3c25699d86476db2d7a2f603bbd822fc5dc27697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 10 Apr 2024 10:02:03 +0300 Subject: [PATCH] nvim: install Go plugin from pkgs-unstable Makes navigation work --- shared/home/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/shared/home/default.nix b/shared/home/default.nix index a414e96..dcf6c36 100644 --- a/shared/home/default.nix +++ b/shared/home/default.nix @@ -143,14 +143,13 @@ in { vimAlias = true; vimdiffAlias = true; defaultEditor = true; - plugins = with pkgs.vimPlugins; - lib.mkMerge [ - [fugitive] - (lib.mkIf devTools [ - vim-go - zig-vim - ]) - ]; + plugins = lib.mkMerge [ + [pkgs.vimPlugins.fugitive] + (lib.mkIf devTools [ + pkgs.pkgs-unstable.vimPlugins.vim-go + pkgs.vimPlugins.zig-vim + ]) + ]; extraConfig = builtins.readFile ./vimrc; } (lib.mkIf devTools {