mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 13:24:28 +02:00
modules/lsp: enable servers."*"
by default
This commit is contained in:
parent
b6e2016b7f
commit
a072e3c3a7
3 changed files with 17 additions and 15 deletions
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
displayName ? "the language server",
|
||||
settings ? null,
|
||||
enable ? null,
|
||||
}:
|
||||
{ lib, ... }:
|
||||
let
|
||||
|
@ -9,7 +10,12 @@ let
|
|||
in
|
||||
{
|
||||
options = {
|
||||
enable = lib.mkEnableOption displayName;
|
||||
enable = lib.mkOption rec {
|
||||
type = types.bool;
|
||||
description = "Whether to enable ${enable.name or displayName}. ${enable.extraDescription or ""}";
|
||||
default = enable.default or false;
|
||||
example = enable.example or (!default);
|
||||
};
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = with types; attrsOf anything;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue