Loading nixos/modules/programs/neovim.nix +4 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,10 @@ in example = lib.literalExpression '' { customRC = ''' " here your custom configuration goes! " here your custom VimScript configuration goes! '''; customLuaRC = ''' -- here your custom Lua configuration goes! '''; packages.myVimPackage = with pkgs.vimPlugins; { # loaded on launch Loading pkgs/applications/editors/neovim/utils.nix +3 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,7 @@ let makeNeovimConfig = { customRC ? "", customLuaRC ? "", # the function you would have passed to lua.withPackages extraLuaPackages ? (_: [ ]), ... Loading @@ -83,6 +84,7 @@ let attrs // { neovimRcContent = customRC; luaRcContent = customLuaRC; wrapperArgs = lib.optionals (luaEnv != null) [ "--prefix" "LUA_PATH" Loading Loading @@ -145,6 +147,7 @@ let vimAlias ; customRC = configure.customRC or ""; customLuaRC = configure.customLuaRC or ""; inherit plugins; inherit extraName; }; Loading Loading
nixos/modules/programs/neovim.nix +4 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,10 @@ in example = lib.literalExpression '' { customRC = ''' " here your custom configuration goes! " here your custom VimScript configuration goes! '''; customLuaRC = ''' -- here your custom Lua configuration goes! '''; packages.myVimPackage = with pkgs.vimPlugins; { # loaded on launch Loading
pkgs/applications/editors/neovim/utils.nix +3 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,7 @@ let makeNeovimConfig = { customRC ? "", customLuaRC ? "", # the function you would have passed to lua.withPackages extraLuaPackages ? (_: [ ]), ... Loading @@ -83,6 +84,7 @@ let attrs // { neovimRcContent = customRC; luaRcContent = customLuaRC; wrapperArgs = lib.optionals (luaEnv != null) [ "--prefix" "LUA_PATH" Loading Loading @@ -145,6 +147,7 @@ let vimAlias ; customRC = configure.customRC or ""; customLuaRC = configure.customLuaRC or ""; inherit plugins; inherit extraName; }; Loading