1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

flake: add nixf-diagnose to treefmt config

Checks nixd's diagnostic lints using libnixf.
This commit is contained in:
Matt Sturgeon 2025-09-29 02:10:08 +01:00
parent 74423f4a53
commit fe059cd395
38 changed files with 53 additions and 171 deletions

View file

@ -1,9 +1,4 @@
{
lib,
helpers,
pkgs,
...
}@args:
{ lib, pkgs, ... }:
let
# A list of most cmp source plugins, passed to mkCmpSourcePlugin.
@ -183,7 +178,9 @@ let
}
];
mkCmpSourcePlugin = import ./_mk-cmp-plugin.nix args;
mkCmpSourcePlugin = import ./_mk-cmp-plugin.nix {
inherit lib pkgs;
};
pluginModules = builtins.map mkCmpSourcePlugin sources;
in
{