mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules: cleanup with lib
This commit is contained in:
parent
ff042dfc93
commit
1c9ba58aef
12 changed files with 79 additions and 85 deletions
|
@ -4,8 +4,9 @@
|
|||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
inherit (lib) types;
|
||||
|
||||
cfg = config.filetype;
|
||||
|
||||
filetypeDefinition = helpers.mkNullOrOption (
|
||||
|
@ -19,7 +20,7 @@ let
|
|||
(listOf (
|
||||
either str (submodule {
|
||||
options = {
|
||||
priority = mkOption {
|
||||
priority = lib.mkOption {
|
||||
type = ints.unsigned;
|
||||
description = ''
|
||||
Filename patterns can specify an optional priority to resolve cases when a file path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue