From 93284432739b79425638d7e707252e24c7cbe5dc Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 6 Nov 2023 03:46:51 +0300 Subject: [PATCH] docs: use inline anchors for referenced options --- modules/completion/nvim-cmp/nvim-cmp.nix | 2 +- modules/treesitter/context.nix | 2 +- modules/visuals/visuals.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/completion/nvim-cmp/nvim-cmp.nix b/modules/completion/nvim-cmp/nvim-cmp.nix index 6871600..977f7e9 100644 --- a/modules/completion/nvim-cmp/nvim-cmp.nix +++ b/modules/completion/nvim-cmp/nvim-cmp.nix @@ -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. diff --git a/modules/treesitter/context.nix b/modules/treesitter/context.nix index 454e1ae..bcc7ce9 100644 --- a/modules/treesitter/context.nix +++ b/modules/treesitter/context.nix @@ -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"; }; diff --git a/modules/visuals/visuals.nix b/modules/visuals/visuals.nix index 43d21be..f77e470 100644 --- a/modules/visuals/visuals.nix +++ b/modules/visuals/visuals.nix @@ -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;