docs: use inline anchors for referenced options

This commit is contained in:
NotAShelf 2023-11-06 03:46:51 +03:00
parent edb3724e64
commit 9328443273
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ with builtins; {
description = ''
The function used to customize the appearance of the completion menu.
If {option}`vim.lsp.lspkind.enable` is true, then the function
If [](#opt-vim.lsp.lspkind.enable) is true, then the function
will be called before modifications from lspkind.
Default is to call the menu mapping function.

View file

@ -37,7 +37,7 @@ in {
};
trimScope = mkOption {
description = "Which context lines to discard if {option}`vim.treesitter.context.maxLines` is exceeded.";
description = "Which context lines to discard if [](#opt-vim.treesitter.context.maxLines) is exceeded.";
type = types.enum ["inner" "outer"];
default = "outer";
};

View file

@ -81,7 +81,7 @@ in {
showEndOfLine = mkOption {
description = ''
Displays the end of line character set by {option}`vim.visuals.indentBlankline.eolChar` instead of the
Displays the end of line character set by [](#opt-vim.visuals.indentBlankline.eolChar) instead of the
indent guide on line returns.
'';
type = types.bool;