mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-27 11:55:22 +00:00
12 lines
351 B
Nix
12 lines
351 B
Nix
{lib}: let
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
mkLspPresetEnableOption = option: display: fileTypes:
|
|
mkEnableOption ''
|
|
the ${display} Language Server.
|
|
Default `filetypes = ${lib.generators.toPretty {} fileTypes}`.
|
|
Use {option}`vim.lsp.servers.${option}` for customization
|
|
'';
|
|
in {
|
|
inherit mkLspPresetEnableOption;
|
|
}
|