modules/snippets: switch to explicit lib calls

This commit is contained in:
raf 2024-03-12 03:48:10 +03:00
parent 3a9f5db55f
commit e5383a8123
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
_: { {
imports = [ imports = [
./vsnip ./vsnip
]; ];

View file

@ -3,7 +3,7 @@
lib, lib,
... ...
}: let }: let
inherit (lib) mkIf; inherit (lib.modules) mkIf;
cfg = config.vim.snippets.vsnip; cfg = config.vim.snippets.vsnip;
in { in {

View file

@ -1,4 +1,4 @@
_: { {
imports = [ imports = [
./vsnip.nix ./vsnip.nix
]; ];

View file

@ -1,5 +1,5 @@
{lib, ...}: let {lib, ...}: let
inherit (lib) mkEnableOption; inherit (lib.options) mkEnableOption;
in { in {
options.vim.snippets.vsnip = { options.vim.snippets.vsnip = {
enable = mkEnableOption "vim-vsnip: snippet LSP/VSCode's format"; enable = mkEnableOption "vim-vsnip: snippet LSP/VSCode's format";