neovim-flake/modules/plugins/autopairs/nvim-autopairs/nvim-autopairs.nix

15 lines
429 B
Nix
Raw Normal View History

{lib, ...}: let
2024-04-06 19:12:58 +02:00
inherit (lib) mkRemovedOptionModule;
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
2024-02-17 14:13:52 +01:00
imports = [
2024-11-26 08:36:39 +01:00
(mkRemovedOptionModule ["vim" "autopairs" "nvim-compe"] "nvim-compe is deprecated and no longer supported.")
2024-02-17 14:13:52 +01:00
];
options.vim.autopairs.nvim-autopairs = {
enable = mkEnableOption "autopairs";
setupOpts = mkPluginSetupOption "nvim-autopairs" {};
};
}