From d513aad94b3bb7c375a29bc05e6febaf252567fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 29 Mar 2024 09:08:53 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- README.md | 96 ++++++++++++++++++++++---------------------- doc/trouble.nvim.txt | 6 +-- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index 4262975f..f80f008c 100644 --- a/README.md +++ b/README.md @@ -377,7 +377,7 @@ require("trouble").first(opts) ---@return trouble.View require("trouble").focus(opts) --- Fold close +-- Fold close ---@param opts? trouble.Mode | { new? : boolean } | string ---@return trouble.View require("trouble").fold_close(opts) @@ -407,7 +407,7 @@ require("trouble").fold_enable(opts) ---@return trouble.View require("trouble").fold_more(opts) --- Fold open +-- Fold open ---@param opts? trouble.Mode | { new? : boolean } | string ---@return trouble.View require("trouble").fold_open(opts) @@ -427,7 +427,7 @@ require("trouble").fold_open_recursive(opts) ---@return trouble.View require("trouble").fold_reduce(opts) --- Fold toggle +-- Fold toggle ---@param opts? trouble.Mode | { new? : boolean } | string ---@return trouble.View require("trouble").fold_toggle(opts) @@ -581,51 +581,51 @@ The table below shows all the highlight groups defined for Trouble. -| Highlight Group | Default Group | Description | -| ---------------------------- | ----------------------------- | ----------- | -| **TroubleCount** | **_TabLineSel_** | | -| **TroubleDirectory** | **_Directory_** | | -| **TroubleFileName** | **_Directory_** | | -| **TroubleIconArray** | **_@punctuation.bracket_** | | -| **TroubleIconBoolean** | **_@boolean_** | | -| **TroubleIconClass** | **_@type_** | | -| **TroubleIconConstant** | **_@constant_** | | -| **TroubleIconConstructor** | **_@constructor_** | | -| **TroubleIconDirectory** | **_Special_** | | -| **TroubleIconEnum** | **_@lsp.type.enum_** | | -| **TroubleIconEnumMember** | **_@lsp.type.enumMember_** | | -| **TroubleIconEvent** | **_Special_** | | -| **TroubleIconField** | **_@variable.member_** | | -| **TroubleIconFile** | **_Normal_** | | -| **TroubleIconFunction** | **_@function_** | | -| **TroubleIconInterface** | **_@lsp.type.interface_** | | -| **TroubleIconKey** | **_@lsp.type.keyword_** | | -| **TroubleIconMethod** | **_@function.method_** | | -| **TroubleIconModule** | **_@module_** | | -| **TroubleIconNamespace** | **_@module_** | | -| **TroubleIconNull** | **_@constant.builtin_** | | -| **TroubleIconNumber** | **_@number_** | | -| **TroubleIconObject** | **_@constant_** | | -| **TroubleIconOperator** | **_@operator_** | | -| **TroubleIconPackage** | **_@module_** | | -| **TroubleIconProperty** | **_@property_** | | -| **TroubleIconString** | **_@string_** | | -| **TroubleIconStruct** | **_@lsp.type.struct_** | | -| **TroubleIconTypeParameter** | **_@lsp.type.typeParameter_** | | -| **TroubleIconVariable** | **_@variable_** | | -| **TroubleIndent** | **_LineNr_** | | -| **TroubleIndentFoldClosed** | **_CursorLineNr_** | | -| **TroubleIndentFoldOpen** | **_TroubleIndent_** | | -| **TroubleIndentLast** | **_TroubleIndent_** | | -| **TroubleIndentMiddle** | **_TroubleIndent_** | | -| **TroubleIndentTop** | **_TroubleIndent_** | | -| **TroubleIndentWs** | **_TroubleIndent_** | | -| **TroubleNormal** | **_NormalFloat_** | | -| **TroubleNormalNC** | **_NormalFloat_** | | -| **TroublePos** | **_LineNr_** | | -| **TroublePreview** | **_Visual_** | | -| **TroubleSource** | **_Comment_** | | -| **TroubleText** | **_Normal_** | | +| Highlight Group | Default Group | Description | +| --- | --- | --- | +| **TroubleCount** | ***TabLineSel*** | | +| **TroubleDirectory** | ***Directory*** | | +| **TroubleFileName** | ***Directory*** | | +| **TroubleIconArray** | ***@punctuation.bracket*** | | +| **TroubleIconBoolean** | ***@boolean*** | | +| **TroubleIconClass** | ***@type*** | | +| **TroubleIconConstant** | ***@constant*** | | +| **TroubleIconConstructor** | ***@constructor*** | | +| **TroubleIconDirectory** | ***Special*** | | +| **TroubleIconEnum** | ***@lsp.type.enum*** | | +| **TroubleIconEnumMember** | ***@lsp.type.enumMember*** | | +| **TroubleIconEvent** | ***Special*** | | +| **TroubleIconField** | ***@variable.member*** | | +| **TroubleIconFile** | ***Normal*** | | +| **TroubleIconFunction** | ***@function*** | | +| **TroubleIconInterface** | ***@lsp.type.interface*** | | +| **TroubleIconKey** | ***@lsp.type.keyword*** | | +| **TroubleIconMethod** | ***@function.method*** | | +| **TroubleIconModule** | ***@module*** | | +| **TroubleIconNamespace** | ***@module*** | | +| **TroubleIconNull** | ***@constant.builtin*** | | +| **TroubleIconNumber** | ***@number*** | | +| **TroubleIconObject** | ***@constant*** | | +| **TroubleIconOperator** | ***@operator*** | | +| **TroubleIconPackage** | ***@module*** | | +| **TroubleIconProperty** | ***@property*** | | +| **TroubleIconString** | ***@string*** | | +| **TroubleIconStruct** | ***@lsp.type.struct*** | | +| **TroubleIconTypeParameter** | ***@lsp.type.typeParameter*** | | +| **TroubleIconVariable** | ***@variable*** | | +| **TroubleIndent** | ***LineNr*** | | +| **TroubleIndentFoldClosed** | ***CursorLineNr*** | | +| **TroubleIndentFoldOpen** | ***TroubleIndent*** | | +| **TroubleIndentLast** | ***TroubleIndent*** | | +| **TroubleIndentMiddle** | ***TroubleIndent*** | | +| **TroubleIndentTop** | ***TroubleIndent*** | | +| **TroubleIndentWs** | ***TroubleIndent*** | | +| **TroubleNormal** | ***NormalFloat*** | | +| **TroubleNormalNC** | ***NormalFloat*** | | +| **TroublePos** | ***LineNr*** | | +| **TroublePreview** | ***Visual*** | | +| **TroubleSource** | ***Comment*** | | +| **TroubleText** | ***Normal*** | | diff --git a/doc/trouble.nvim.txt b/doc/trouble.nvim.txt index fb9828f5..1fdedd95 100644 --- a/doc/trouble.nvim.txt +++ b/doc/trouble.nvim.txt @@ -545,15 +545,15 @@ action: >lua local actions = require("telescope.actions") - local trouble = require("trouble.sources.telescope") + local open_with_trouble = require("trouble.sources.telescope").open local telescope = require("telescope") telescope.setup({ defaults = { mappings = { - i = { [""] = trouble.open }, - n = { [""] = trouble.open }, + i = { [""] = open_with_trouble }, + n = { [""] = open_with_trouble }, }, }, })