mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-12 15:58:58 +00:00
diagnostics/presets: init
This commit is contained in:
parent
29f7eb8491
commit
0e5f966c38
52 changed files with 958 additions and 634 deletions
11
lib/types/diagnostics.nix
Normal file
11
lib/types/diagnostics.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue