nix-community.nixvim/modules
Matt Sturgeon 4e5bd1d79b
lib: segregate and deprecate functions that need pkgs
Splits everything that depends on a `pkgs` instance into an optional
attrs, allowing `helpers.nix` to be bootstrapped without `pkgs`.

This required some refactoring:
- `modules.specialArgs` is only available when `pkgs` is used
- `modules.specialArgsWith` now requires `defaultPkgs` be provided
- `builders.*` now have `*With` variants that take `pkgs` as an argument
  and a `withPkgs` function that returns the old interface
- Had to define the fixed part of `builders` outside the attrs for now,
  to avoid infinite recursion.
- The old `builders` are now deprecated, and print a warning when
  evaluated
- `withOptoinalFns` was introduced to merge the optional attrs into the
  final lib.
2024-09-13 19:05:26 +01:00
..
misc modules: cleanup with lib 2024-09-03 22:12:33 -05:00
top-level lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
autocmd.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
clipboard.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
colorscheme.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
commands.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
default.nix modules/performance: add an option to combine plugins to a single plugin pack 2024-07-24 16:50:50 +02:00
diagnostics.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
doc.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
editorconfig.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
files.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
filetype.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
highlights.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
keymaps.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
lua-loader.nix modules/lua-loader: make enable option nullable 2024-07-21 17:11:50 +03:00
opts.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
output.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
performance.nix modules/performance: add ability to byte compile nvim runtime directory 2024-07-31 11:31:40 +00:00
plugins.nix plugins/by-name: remove pathExists check 2024-09-09 11:50:41 +01:00