forked from Shinonome/fred-neovim
Minor format adjustment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user