Minor format adjustment

This commit is contained in:
Fred Drake
2024-10-13 11:01:15 -04:00
parent e349347a95
commit 1128eb14b5
+3 -3
View File
@@ -37,7 +37,7 @@ You can have multiple neovim configurations (`nvim`, `nvim-rust`, `nvim-golang`,
Create a function that creates neovim links with unique configuration names:
```nix
mkNeovimPackages = pkgs: neovimPkgs: let
mkNeovimPackages = pkgs: neovimPkgs: let
mkNeovimAlias = name: pkg:
pkgs.runCommand "neovim-${name}" {} ''
mkdir -p $out/bin
@@ -48,11 +48,11 @@ Create a function that creates neovim links with unique configuration names:
And add it to your home-manager imports:
```nix
({pkgs, ...}: {
({pkgs, ...}: {
home.packages =
(builtins.attrValues (mkNeovimPackages pkgs inputs.neovim.packages.${pkgs.system}))
++ [inputs.neovim.packages.${pkgs.system}.default];
})
})
```
## Technology Support