mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-05-19 21:46:32 +00:00
diagnostics/presets: init
This commit is contained in:
parent
cd45295f9c
commit
0735ee8cfd
49 changed files with 892 additions and 575 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