mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-09 18:41:07 +01:00
flake: add nixf-diagnose to treefmt config
Checks nixd's diagnostic lints using libnixf.
This commit is contained in:
parent
74423f4a53
commit
fe059cd395
38 changed files with 53 additions and 171 deletions
|
|
@ -12,7 +12,7 @@ let
|
|||
};
|
||||
generated = makeNixvimWithModule {
|
||||
module =
|
||||
{ regularArg, extraModule, ... }:
|
||||
{ extraModule, ... }:
|
||||
{
|
||||
_module.args = {
|
||||
regularArg = "regularValue";
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@
|
|||
lib ? pkgs.lib,
|
||||
linkFarm,
|
||||
pkgs,
|
||||
self,
|
||||
system,
|
||||
pkgsForTest,
|
||||
}:
|
||||
let
|
||||
|
|
|
|||
|
|
@ -27,12 +27,7 @@ in
|
|||
};
|
||||
|
||||
all =
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{ lib, options, ... }:
|
||||
let
|
||||
enableDep = depName: depOption: {
|
||||
enable = isDepEnabled depName depOption.package.default;
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ in
|
|||
};
|
||||
|
||||
example-multiple-plugin =
|
||||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
extraPlugins =
|
||||
with pkgs.vimPlugins;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue