Skip to content

Commit

Permalink
*: ran rnix formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
denbeigh2000 committed Jun 3, 2022
1 parent 0f6140a commit 410ee2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [
Expand Down Expand Up @@ -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;
};
}
};
}
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
pkgs = nixpkgs.legacyPackages."${system}";
});
in
{
packages.neovim = neovim;
{
packages.neovim = neovim;

defaultPackage = neovim;
});
defaultPackage = neovim;
});
}

0 comments on commit 410ee2f

Please sign in to comment.