diff --git a/default.nix b/default.nix index b0e4e8b..770b2eb 100644 --- a/default.nix +++ b/default.nix @@ -8,9 +8,9 @@ let # but this does not seem to overwrite the version of golangci-lint used by vimPlugins.vim-go. extraPlugins = ( - if hostPlatform.isDarwin - then [] - else [ pkgs.vimPlugins.vim-go ] + if hostPlatform.isDarwin + then [ ] + else [ pkgs.vimPlugins.vim-go ] ); plugins = with pkgs.vimPlugins; [ @@ -41,12 +41,12 @@ let gruvbox ] ++ extraPlugins; in - pkgs.neovim.override { - configure = { - customRC = (builtins.readFile ./nvimrc); +pkgs.neovim.override { + configure = { + customRC = (builtins.readFile ./nvimrc); - packages.myVimPackage = { - start = plugins; - }; + packages.myVimPackage = { + start = plugins; }; - } + }; +} diff --git a/flake.nix b/flake.nix index 91ea68e..d36b789 100644 --- a/flake.nix +++ b/flake.nix @@ -13,9 +13,9 @@ pkgs = nixpkgs.legacyPackages."${system}"; }); in - { - packages.neovim = neovim; + { + packages.neovim = neovim; - defaultPackage = neovim; - }); + defaultPackage = neovim; + }); }