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 = [
./vsnip
];

View file

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

View file

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

View file

@ -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";