mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-03 13:54:29 +02:00
plugins/lsp: fix inlayHints description
`mkEnableOption` adds an extra `.`, just use `mkOption` and be explicit.
This commit is contained in:
parent
f2d38e0a3c
commit
8a462dc957
1 changed files with 10 additions and 4 deletions
|
@ -112,11 +112,17 @@ in
|
||||||
visible = false;
|
visible = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
inlayHints = mkEnableOption ''
|
inlayHints = mkOption {
|
||||||
LSP inlay-hints. Only affects language servers with inlay-hints support.
|
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 {
|
onAttach = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue