diff --git a/modules/snippets/default.nix b/modules/snippets/default.nix index cde3f7c..3f9758a 100644 --- a/modules/snippets/default.nix +++ b/modules/snippets/default.nix @@ -1,4 +1,4 @@ -_: { +{ imports = [ ./vsnip ]; diff --git a/modules/snippets/vsnip/config.nix b/modules/snippets/vsnip/config.nix index fd4bf50..5c6ba75 100644 --- a/modules/snippets/vsnip/config.nix +++ b/modules/snippets/vsnip/config.nix @@ -3,7 +3,7 @@ lib, ... }: let - inherit (lib) mkIf; + inherit (lib.modules) mkIf; cfg = config.vim.snippets.vsnip; in { diff --git a/modules/snippets/vsnip/default.nix b/modules/snippets/vsnip/default.nix index fee36eb..87ef29e 100644 --- a/modules/snippets/vsnip/default.nix +++ b/modules/snippets/vsnip/default.nix @@ -1,4 +1,4 @@ -_: { +{ imports = [ ./vsnip.nix ]; diff --git a/modules/snippets/vsnip/vsnip.nix b/modules/snippets/vsnip/vsnip.nix index 2d423cb..5d3b6d9 100644 --- a/modules/snippets/vsnip/vsnip.nix +++ b/modules/snippets/vsnip/vsnip.nix @@ -1,5 +1,5 @@ {lib, ...}: let - inherit (lib) mkEnableOption; + inherit (lib.options) mkEnableOption; in { options.vim.snippets.vsnip = { enable = mkEnableOption "vim-vsnip: snippet LSP/VSCode's format";