plugins/lsp: fix inlayHints description

`mkEnableOption` adds an extra `.`, just use `mkOption` and be explicit.
This commit is contained in:
Matt Sturgeon 2024-06-09 09:23:05 +01:00
parent f2d38e0a3c
commit 8a462dc957
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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;