From 8a462dc9570bce1de5a7dd1beabd83f95958315b Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 9 Jun 2024 09:23:05 +0100 Subject: [PATCH] plugins/lsp: fix inlayHints description `mkEnableOption` adds an extra `.`, just use `mkOption` and be explicit. --- plugins/lsp/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/plugins/lsp/default.nix b/plugins/lsp/default.nix index 25616c76..d2d7f4bd 100644 --- a/plugins/lsp/default.nix +++ b/plugins/lsp/default.nix @@ -112,11 +112,17 @@ in visible = false; }; - inlayHints = mkEnableOption '' - LSP inlay-hints. Only affects language servers with inlay-hints support. + inlayHints = mkOption { + description = '' + Whether to enable LSP inlay-hints. + Only affects language servers with inlay-hints support. - See [`:h lsp-inlay_hint`](https://neovim.io/doc/user/lsp.html#lsp-inlay_hint). - ''; + See [`:h lsp-inlay_hint`](https://neovim.io/doc/user/lsp.html#lsp-inlay_hint). + ''; + type = types.bool; + default = false; + example = true; + }; onAttach = mkOption { type = types.lines;