nix-community.nixvim/lib
Matt Sturgeon 6b0c5d594a
lib/modules: assert that specialArgs has a valid lib
End-users have ran into issues before when attempting to re-use a `lib`
from elsewhere in nixvim's configuration.

If a `lib` without the `nixvim` extension is used, this assertion will
inform the user that this isn't supported.

In the future we can also provide better ways for end-users to overlay
their own lib with nixvim's extensions, but this is not yet implemented.

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-09-27 11:11:49 +01:00
..
autocmd-helpers.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
builders.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
default.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
deprecation.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
extend-lib.nix lib: use lib.fix and self internally 2024-09-13 17:25:17 +01:00
keymap-helpers.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
maintainers.nix maintainers: add ZainKergaye 2024-09-27 02:18:51 -06:00
modules.nix lib/modules: assert that specialArgs has a valid lib 2024-09-27 11:11:49 +01:00
neovim-plugin.nix lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
options.nix lib: add types.flagInt + defaultNullOpts.mkIntFlag 2024-09-08 12:54:30 +01:00
pkg-lists.nix lib/pkg-lists: move to common location 2024-09-04 20:29:52 +01:00
tests.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
to-lua.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
types.nix lib/types/pluginLuaConfig: use lib.optional instead of lib.mkIf 2024-09-23 20:08:52 +01:00
utils.nix lib/neovim-plugin: Add lua configuration scoped to the plugin 2024-09-22 16:15:27 +00:00
vim-plugin.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00