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

15 lines
428 B
Nix
Raw Permalink 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-04-06 19:12:58 +02:00
(mkRemovedOptionModule ["vim" "autopairs" "nvim-compe"] "nvim-compe is deprecated and no longer suported.")
2024-02-17 14:13:52 +01:00
];
options.vim.autopairs.nvim-autopairs = {
enable = mkEnableOption "autopairs";
setupOpts = mkPluginSetupOption "nvim-autopairs" {};
};
}