diagnostics/presets: init

This commit is contained in:
Snoweuph 2026-05-11 23:25:02 +02:00
commit 0735ee8cfd
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
49 changed files with 892 additions and 575 deletions

11
lib/types/diagnostics.nix Normal file
View file

@ -0,0 +1,11 @@
{lib}: let
inherit (lib.options) mkEnableOption;
mkDiagnosticsPresetEnableOption = option: display:
mkEnableOption ''
the ${display} Diagnostics Provider.
Use {option}`vim.diagnostics.nvim-lint.linters.${option}` for customization
'';
in {
inherit mkDiagnosticsPresetEnableOption;
}