Skip to content

Commit

Permalink
docs: use inline anchors for referenced options
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Nov 6, 2023
1 parent edb3724 commit 9328443
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/completion/nvim-cmp/nvim-cmp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion modules/treesitter/context.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down
2 changes: 1 addition & 1 deletion modules/visuals/visuals.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9328443

Please sign in to comment.