summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael A. Madriz <rafamadrizjr@gmail.com>2021-09-22 16:07:48 +0000
committerGitHub <noreply@github.com>2021-09-22 18:07:48 +0200
commitf6480b0ecb5ec99d2f966939d565921ae484fbab (patch)
tree64463821d7ccc9a43b0fb6bc0b04946445563565
parenta005e58a48645da5aeeeedf7c7788abfde7d07dc (diff)
fix: help_tags if file_ignore_patterns = { "doc" } is set (#1279)
-rw-r--r--lua/telescope/builtin/internal.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua
index 917d0a3..ef017a2 100644
--- a/lua/telescope/builtin/internal.lua
+++ b/lua/telescope/builtin/internal.lua
@@ -504,6 +504,7 @@ end
internal.help_tags = function(opts)
opts.lang = utils.get_default(opts.lang, vim.o.helplang)
opts.fallback = utils.get_default(opts.fallback, true)
+ opts.file_ignore_patterns = {}
local langs = vim.split(opts.lang, ",", true)
if opts.fallback and not vim.tbl_contains(langs, "en") then