parent
49dc072b81
commit
d2625fa290
12 changed files with 110 additions and 99 deletions
devShells/neovim-shells
20
devShells/neovim-shells/default.nix
Normal file
20
devShells/neovim-shells/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: let
|
||||
inherit (pkgs.lib) listToAttrs nameValuePair;
|
||||
mkLangsShells = langs:
|
||||
listToAttrs (map (l:
|
||||
nameValuePair l (pkgs.callPackage "${self}/homeManagerModules/neovim/langs/${l}/shell.nix" {inherit self;}))
|
||||
langs);
|
||||
in
|
||||
mkLangsShells [
|
||||
"csharp"
|
||||
"json"
|
||||
"lua"
|
||||
"markdown"
|
||||
"rust"
|
||||
"web"
|
||||
"c-lang"
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue