mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
misc: refactor imports, prefer adding helpers
to args rather than importing it
This commit is contained in:
parent
541b694873
commit
b6724702b4
160 changed files with 697 additions and 736 deletions
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
...
|
||||
} @ args:
|
||||
}:
|
||||
with lib; let
|
||||
helpers = import ../lib/helpers.nix args;
|
||||
filetypeDefinition = helpers.mkNullOrOption (types.attrsOf (
|
||||
types.oneOf [
|
||||
# Raw filetype
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue